mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-24 16:58:35 -04:00
Update seed_resource.rb
This commit is contained in:
@@ -7,8 +7,8 @@ module Api
|
||||
@model.owner = context[:current_user]
|
||||
end
|
||||
|
||||
has_one :owner, class_name: 'Member'
|
||||
has_one :crop
|
||||
has_one :owner, class_name: 'Member', always_include_linkage_data: true
|
||||
has_one :crop, always_include_linkage_data: true
|
||||
|
||||
attribute :description
|
||||
attribute :quantity
|
||||
|
||||
Reference in New Issue
Block a user