diff options
| author | Zog | 2018-01-24 16:56:16 +0100 | 
|---|---|---|
| committer | Zog | 2018-01-31 15:14:00 +0100 | 
| commit | 663effc415399c61d22dadbc235bb7488022d191 (patch) | |
| tree | cc943f110c9245575c75ebe6cac4b7bfd7152149 /app/helpers/time_tables_helper.rb | |
| parent | b83d26389e6726eaea86955c3a2d2bffa5e65b5e (diff) | |
| download | chouette-core-663effc415399c61d22dadbc235bb7488022d191.tar.bz2 | |
Refs #5682 @3h; Use same UI as for timetables
Diffstat (limited to 'app/helpers/time_tables_helper.rb')
| -rw-r--r-- | app/helpers/time_tables_helper.rb | 2 | 
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]) | 
