Fix bug.
This commit is contained in:
parent
23785a5e9d
commit
25d1187f99
|
@ -30,7 +30,7 @@ class Event
|
||||||
page.nil? ? '' : (page.url+'/'+eval(self.model_class).where(:id=>self.model_id).first.to_calendar_param)
|
page.nil? ? '' : (page.url+'/'+eval(self.model_class).where(:id=>self.model_id).first.to_calendar_param)
|
||||||
end
|
end
|
||||||
def url_to_fronted
|
def url_to_fronted
|
||||||
self.url.blank? ? (self.model_class.blank? ? '' : self.get_module_url) : self.url
|
self.url.blank? ? (self.model_class.blank? ? '' : (self.get_module_url rescue '')) : self.url
|
||||||
end
|
end
|
||||||
attr_accessor :agenda_start, :agenda_end, :get_agenda_events
|
attr_accessor :agenda_start, :agenda_end, :get_agenda_events
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue