From 0947fea02efce26c8c8d13bc99a5341ec7a20c66 Mon Sep 17 00:00:00 2001 From: Xinhui Date: Wed, 25 Oct 2017 15:55:36 +0200 Subject: Remove build_breadcrumb call --- app/controllers/vehicle_journey_imports_controller.rb | 4 +--- app/views/vehicle_journeys/edit.html.slim | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/controllers/vehicle_journey_imports_controller.rb b/app/controllers/vehicle_journey_imports_controller.rb index 2e2a3a718..58f8816aa 100644 --- a/app/controllers/vehicle_journey_imports_controller.rb +++ b/app/controllers/vehicle_journey_imports_controller.rb @@ -12,9 +12,7 @@ class VehicleJourneyImportsController < ChouetteController def new @vehicle_journey_import = VehicleJourneyImport.new(:route => route) - new! do - build_breadcrumb :new - end + new! end def create diff --git a/app/views/vehicle_journeys/edit.html.slim b/app/views/vehicle_journeys/edit.html.slim index 52ac97277..6276b2635 100644 --- a/app/views/vehicle_journeys/edit.html.slim +++ b/app/views/vehicle_journeys/edit.html.slim @@ -1,4 +1,3 @@ -- breadcrumb = title_tag edit_vehicle_title(@vehicle_journey) == render 'form', vehicle_journey: @vehicle_journey, form_url: referential_line_route_vehicle_journey_path(@referential, @line, @route, @vehicle_journey) -- cgit v1.2.3