aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/breadcrumb_helper.rb
diff options
context:
space:
mode:
authorLuc Donnet2017-03-23 10:05:02 +0100
committerLuc Donnet2017-03-23 10:05:02 +0100
commit0765467b55771fd7158fa84ee8ec6b2927774393 (patch)
tree74aaf2b09aa5c279ca6c1aeaa2a253e4084892d4 /app/helpers/breadcrumb_helper.rb
parentaf71d3fbbf93cb4da1d2ebd1a1b705019f6cddb5 (diff)
downloadchouette-core-0765467b55771fd7158fa84ee8ec6b2927774393.tar.bz2
Fix breadcrumb delete lines link Refs #2856
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
-rw-r--r--app/helpers/breadcrumb_helper.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb
index 3a742d0dc..1f8690f38 100644
--- a/app/helpers/breadcrumb_helper.rb
+++ b/app/helpers/breadcrumb_helper.rb
@@ -159,7 +159,6 @@ module BreadcrumbHelper
add_breadcrumb breadcrumb_label(@line), line_referential_line_path(@line_referential, @line),:title => breadcrumb_tooltip(@line) if action == :edit
else
referential_breadcrumb
- add_breadcrumb Chouette::Line.model_name.human(:count => 2).capitalize, referential_lines_path(@referential) unless action == :index
add_breadcrumb breadcrumb_label(@line), referential_line_path(@referential, @line),:title => breadcrumb_tooltip(@line) if action == :edit
end
end