fix error
This commit is contained in:
1 parent
6c63cae62c
commit
42586bb546
1 file changed
+3
-1
@@ -68,7 +68,9 @@ class Bulletin
|
||||
|
||||
before_create :set_expire
|
||||
before_save :check_limit
|
||||
|
||||
def to_calendar_param
|
||||
self.to_param
|
||||
end
|
||||
def calendar_type
|
||||
CalendarType.where(:category_id.in => self.calendar_type_id)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user