fix error
This commit is contained in:
parent
6c63cae62c
commit
42586bb546
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue