Removed public scope from event_atachment model

This commit is contained in:
Chrisbr 2014-04-30 13:44:26 +02:00
parent a7fa584ed7
commit 00b4cfd0c0

View file

@ -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"