diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/routes_controller.rb | 3 | ||||
| -rw-r--r-- | app/views/routes/edit.html.slim | 1 | ||||
| -rw-r--r-- | app/views/routes/new.html.slim | 1 | ||||
| -rw-r--r-- | app/views/routes/show.html.slim | 3 | 
4 files changed, 4 insertions, 4 deletions
| diff --git a/app/controllers/routes_controller.rb b/app/controllers/routes_controller.rb index 78daffb30..93f30f4d5 100644 --- a/app/controllers/routes_controller.rb +++ b/app/controllers/routes_controller.rb @@ -19,7 +19,6 @@ class RoutesController < ChouetteController    def edit_boarding_alighting      @route = route -    build_breadcrumb :edit    end    def save_boarding_alighting @@ -51,8 +50,6 @@ class RoutesController < ChouetteController          @route_sp,          with: StopPointDecorator        ) - -      build_breadcrumb :show      end    end diff --git a/app/views/routes/edit.html.slim b/app/views/routes/edit.html.slim index 850588aef..12276b64c 100644 --- a/app/views/routes/edit.html.slim +++ b/app/views/routes/edit.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :route, @referential, @line, @route  / PageHeader  = pageheader 'itineraire',               @route.name, diff --git a/app/views/routes/new.html.slim b/app/views/routes/new.html.slim index a68f8ae4e..3a8ceb963 100644 --- a/app/views/routes/new.html.slim +++ b/app/views/routes/new.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :referential_line, @referential, @line  / PageHeader  = pageheader 'itineraire',               t('routes.new.title'), diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim index 6bd3451cd..c8fbdfe16 100644 --- a/app/views/routes/show.html.slim +++ b/app/views/routes/show.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :route, @referential, @line, @route  / PageHeader  = pageheader 'itineraire',          t('routes.index.title', route: @route.name), @@ -78,4 +79,4 @@  = javascript_tag do    | window.route = "#{URI.escape(route_json_for_edit(@route))}" -= javascript_pack_tag 'routes/show.js'
\ No newline at end of file += javascript_pack_tag 'routes/show.js' | 
