Commit 891a2fb095400b4fb277b6270e31102cffcf8841

Authored by Victor Costa
1 parent c20c374d

Hotfix for event visualization

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
app/models/event.rb
... ... @@ -132,11 +132,11 @@ class Event < Article
132 132 }
133 133  
134 134 if self.body
135   - if options[:format] == 'short'
136   - result.sub!('_____XXXX_DESCRIPTION_GOES_HERE_XXXX_____', display_short_format(self))
137   - else
  135 + #if options[:format] == 'short'
  136 + # result.sub!('_____XXXX_DESCRIPTION_GOES_HERE_XXXX_____', display_short_format(self))
  137 + #else
138 138 result.sub!('_____XXXX_DESCRIPTION_GOES_HERE_XXXX_____', self.body)
139   - end
  139 + #end
140 140 end
141 141  
142 142 result
... ...