diff options
| author | Teddy Wing | 2017-07-11 18:48:42 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-07-12 11:11:14 +0200 | 
| commit | ef937098ef2c5e7ad8a05c5d84b8a201cb6358e8 (patch) | |
| tree | 8789af620646b83a9db828523b3cd704e8766ed4 /app/controllers/stop_areas_controller.rb | |
| parent | dc155d36bdf0dc1c056888794586fca10c1f11b0 (diff) | |
| download | chouette-core-ef937098ef2c5e7ad8a05c5d84b8a201cb6358e8.tar.bz2 | |
StopAreaReferentials#show: Move header links to decorator
On the
    http://stif-boiv.dev:3000/stop_area_referentials/1/stop_areas/139416
page, move the header links into a decorator to allow us to use them in
the table of stop areas on StopAreaReferentials#index.
Refs #3479
Diffstat (limited to 'app/controllers/stop_areas_controller.rb')
| -rw-r--r-- | app/controllers/stop_areas_controller.rb | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/app/controllers/stop_areas_controller.rb b/app/controllers/stop_areas_controller.rb index ae3edbd3e..e97aad8d3 100644 --- a/app/controllers/stop_areas_controller.rb +++ b/app/controllers/stop_areas_controller.rb @@ -90,6 +90,9 @@ class StopAreasController < BreadcrumbController          }        end + +      @stop_area = @stop_area.decorate +        build_breadcrumb :show      end    end | 
