public neuigkeit/rubrik -calentry link

This commit is contained in:
Andreas Stephanides
2013-08-23 13:42:19 +02:00
parent de4c84871c
commit 41433c20f9
4 changed files with 26 additions and 4 deletions

View File

@@ -15,4 +15,5 @@ class Calendar < ActiveRecord::Base
has_and_belongs_to_many :calentries
mount_uploader :picture, PictureUploader
resourcify
scope :public, -> { where(:public => :true) }
end