From 891a2fb095400b4fb277b6270e31102cffcf8841 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Thu, 25 Jun 2015 13:52:07 -0300 Subject: [PATCH] Hotfix for event visualization --- app/models/event.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/event.rb b/app/models/event.rb index c3503fd..957ac2a 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -132,11 +132,11 @@ class Event < Article } if self.body - if options[:format] == 'short' - result.sub!('_____XXXX_DESCRIPTION_GOES_HERE_XXXX_____', display_short_format(self)) - else + #if options[:format] == 'short' + # result.sub!('_____XXXX_DESCRIPTION_GOES_HERE_XXXX_____', display_short_format(self)) + #else result.sub!('_____XXXX_DESCRIPTION_GOES_HERE_XXXX_____', self.body) - end + #end end result -- libgit2 0.21.2