diff options
| author | Alban Peignier | 2016-05-13 16:53:13 +0200 | 
|---|---|---|
| committer | Alban Peignier | 2016-05-13 16:53:30 +0200 | 
| commit | 2cb49d26214f9082fa00fe58ee1c1388e45a34ed (patch) | |
| tree | f15d5d25279a24a310a25b59a112c2cded69d7b8 /app/helpers | |
| parent | 6045f57aa95fbd1d45f33180639bbf322b7ec2ab (diff) | |
| download | chouette-core-2cb49d26214f9082fa00fe58ee1c1388e45a34ed.tar.bz2 | |
Refactor controllers to manage StopAreas in StopAreaReferential. Refs #821
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb index aebd242be..453c2c622 100644 --- a/app/helpers/breadcrumb_helper.rb +++ b/app/helpers/breadcrumb_helper.rb @@ -85,8 +85,8 @@ module BreadcrumbHelper    def stop_area_breadcrumb(action)      referential_breadcrumb -    add_breadcrumb Chouette::StopArea.model_name.human(:count => 2), referential_stop_areas_path(@referential) unless action == :index -    add_breadcrumb breadcrumb_label(@stop_area), referential_stop_area_path(@referential, @stop_area),:title => breadcrumb_tooltip(@stop_area) if action == :edit +    add_breadcrumb Chouette::StopArea.model_name.human(:count => 2), referential_stop_areas_path(@stop_area.stop_area_referential) unless action == :index +    add_breadcrumb breadcrumb_label(@stop_area), referential_stop_area_path(@stop_area.stop_area_referential, @stop_area),:title => breadcrumb_tooltip(@stop_area) if action == :edit    end    def stop_area_copy_breadcrumb(action) | 
