Changed Ruby syntax in views. Fixed #1326
This commit is contained in:
parent
b0a84ad1c6
commit
1ca448df6f
74 changed files with 371 additions and 376 deletions
|
|
@ -9,7 +9,7 @@
|
|||
'Difficulty Level',
|
||||
'Room',
|
||||
'State']
|
||||
= CSV.generate_line ["All Events"]
|
||||
= CSV.generate_line ['All Events']
|
||||
= CSV.generate_line headers
|
||||
- @events.each do |event|
|
||||
= CSV.generate_line([event.id, event.title, event.abstract, (event.time.present? ? "#{event.time.strftime("%Y-%m-%d")} #{event.time.strftime("%I:%M%p")} " : ''),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue