diff options
| author | Teddy Wing | 2017-07-07 12:40:48 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-07-07 12:58:11 +0200 |
| commit | c91a0c34d1218b67e5aaca96f1140734baf7b7ec (patch) | |
| tree | 526b2750b797863d601207b96aec875ff0648431 /app/controllers/errors_controller.rb | |
| parent | 0aef1ec53b69a57e9eb5bd2f13f0c88438e668e4 (diff) | |
| download | chouette-core-c91a0c34d1218b67e5aaca96f1140734baf7b7ec.tar.bz2 | |
TableBuilderHelper::URL: Fix polymorphic URL for TimeTable
Had a problem on the TimeTables#index page where the #show and #edit
links in the gear menu would link to `/referentials/:id` instead of
`/referentials/:id/time_tables/:id`.
This turned out to be caused by a syntax bug in the condition that adds
the `Chouette::TimeTable` object to the polymorphic URL array. Now the
proper URL is rendered.
Refs #3479
Diffstat (limited to 'app/controllers/errors_controller.rb')
0 files changed, 0 insertions, 0 deletions
