aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/referentials_controller.rb
diff options
context:
space:
mode:
authorXinhui2017-10-18 16:54:46 +0200
committerXinhui2017-10-18 16:54:46 +0200
commit00df5aa984a92adedfcb389dbd36d78a4de7488e (patch)
tree9ca760c71a0bd8eee8faad992f606f60cd4f471c /app/controllers/referentials_controller.rb
parentbe1a8ec720ba10145630d6aaec1ebde5bcb52117 (diff)
downloadchouette-core-00df5aa984a92adedfcb389dbd36d78a4de7488e.tar.bz2
Remove legacy breadcrumb method in controllers
Refs #4741
Diffstat (limited to 'app/controllers/referentials_controller.rb')
-rw-r--r--app/controllers/referentials_controller.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb
index c8984076a..e4357e878 100644
--- a/app/controllers/referentials_controller.rb
+++ b/app/controllers/referentials_controller.rb
@@ -18,8 +18,6 @@ class ReferentialsController < BreadcrumbController
if !!@referential.created_from_id
format.html { redirect_to workbench_path(@referential.workbench) }
- else
- build_breadcrumb :new
end
end
end
@@ -45,7 +43,6 @@ class ReferentialsController < BreadcrumbController
:time_tables_count => resource.time_tables.count,
:referential_id => resource.id}
}
- format.html { build_breadcrumb :show}
end
end