Fix some translations. Improve style for menu, fix layout in digitals page. Working version.
This commit is contained in:
@@ -2,12 +2,12 @@ module Spree
|
||||
class Digital < ActiveRecord::Base
|
||||
belongs_to :variant
|
||||
has_many :digital_links, :dependent => :destroy
|
||||
|
||||
|
||||
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