specify available attributes for update
This commit is contained in:
1 parent
9b193c217d
commit
b7ef0a5b9d
1 file changed
+2
@@ -6,6 +6,8 @@ module Spree
|
||||
has_attached_file :attachment, :path => ":rails_root/private/digitals/:id/:basename.:extension"
|
||||
|
||||
# TODO: Limit the attachment to one single file. Paperclip supports many by default :/
|
||||
|
||||
attr_accessible :variant_id, :attachment
|
||||
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user