aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorZog2018-01-24 16:56:16 +0100
committercedricnjanga2018-02-06 11:10:18 -0800
commitf07802715562b31d15e31b5be90dbeac29cef227 (patch)
treef64dc33cb1bc35acaeca9261012d10516a7daf2a /app/helpers
parent5253b169da36a3de270f00038597b007035f09dd (diff)
downloadchouette-core-f07802715562b31d15e31b5be90dbeac29cef227.tar.bz2
Refs #5682 @3h; Use same UI as for timetables
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/time_tables_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/time_tables_helper.rb b/app/helpers/time_tables_helper.rb
index b380a2b0a..1be1fa5a1 100644
--- a/app/helpers/time_tables_helper.rb
+++ b/app/helpers/time_tables_helper.rb
@@ -84,7 +84,7 @@ module TimeTablesHelper
end unless first.wday == first_weekday
first.upto(last) do |cur|
- cell_text, cell_attrs = block.call(cur)
+ cell_text, cell_attrs = yield cur
cell_text ||= cur.mday
cell_attrs ||= {}
cell_attrs[:headers] = th_id(cur, options[:table_id])