Removed public scope from event_atachment model
This commit is contained in:
parent
a7fa584ed7
commit
00b4cfd0c0
1 changed files with 0 additions and 1 deletions
|
|
@ -2,7 +2,6 @@ class EventAttachment < ActiveRecord::Base
|
||||||
has_paper_trail
|
has_paper_trail
|
||||||
|
|
||||||
belongs_to :event
|
belongs_to :event
|
||||||
scope :public, where(:public => true)
|
|
||||||
attr_accessible :public, :attachment, :event_id, :title
|
attr_accessible :public, :attachment, :event_id, :title
|
||||||
|
|
||||||
has_attached_file :attachment, :path => ":rails_root/storage/:rails_env/attachments/:id/:style/:basename.:extension"
|
has_attached_file :attachment, :path => ":rails_root/storage/:rails_env/attachments/:id/:style/:basename.:extension"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue