Merge pull request #88 from ChrisBr/remove_scope_from_attachments
Removed public scope from event_atachment model
This commit is contained in:
commit
b392245d38
1 changed files with 0 additions and 1 deletions
|
|
@ -2,7 +2,6 @@ class EventAttachment < ActiveRecord::Base
|
|||
has_paper_trail
|
||||
|
||||
belongs_to :event
|
||||
scope :public, where(:public => true)
|
||||
attr_accessible :public, :attachment, :event_id, :title
|
||||
|
||||
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