diff options
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/routes_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/routes_controller.rb b/app/controllers/routes_controller.rb index af5a9a91b..418ba3751 100644 --- a/app/controllers/routes_controller.rb +++ b/app/controllers/routes_controller.rb @@ -70,6 +70,10 @@ class RoutesController < ChouetteController redirect_to referential_line_path(@referential, route.line) end + def costs + @route = resource + end + protected alias_method :route, :resource |
