aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinhui2017-10-25 15:55:36 +0200
committerXinhui2017-10-25 15:55:36 +0200
commit0947fea02efce26c8c8d13bc99a5341ec7a20c66 (patch)
tree48b3da9f78295b702b6846af9d463fd5fdf6906e
parentf2593e299db59552ee47400622cd9cc77cc3a8d1 (diff)
downloadchouette-core-0947fea02efce26c8c8d13bc99a5341ec7a20c66.tar.bz2
Remove build_breadcrumb call
-rw-r--r--app/controllers/vehicle_journey_imports_controller.rb4
-rw-r--r--app/views/vehicle_journeys/edit.html.slim1
2 files changed, 1 insertions, 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)