integration of the new MVC for subproject_addresses
This commit is contained in:
5
app/models/subproject_address.rb
Normal file
5
app/models/subproject_address.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class SubprojectAddress < ApplicationRecord
|
||||
belongs_to :subproject
|
||||
|
||||
validates :streetname, :zipcode, :city, :country, presence: true
|
||||
end
|
||||
Reference in New Issue
Block a user