aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/breadcrumb_helper.rb
diff options
context:
space:
mode:
authorMichel Etienne2014-09-30 10:06:22 +0200
committerMichel Etienne2014-09-30 10:06:22 +0200
commitbe288a0edee23b91cdefc2553a476fdfa30d6db6 (patch)
tree0d12b3b0b8c626669670244e55611a69a600167c /app/helpers/breadcrumb_helper.rb
parent4faeb448b3e570d69a516dce70c1d098f973892d (diff)
downloadchouette-core-be288a0edee23b91cdefc2553a476fdfa30d6db6.tar.bz2
correct access_link breadcrumb on accesslink , Mantis 29070
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
-rw-r--r--app/helpers/breadcrumb_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb
index 580847331..34e03383c 100644
--- a/app/helpers/breadcrumb_helper.rb
+++ b/app/helpers/breadcrumb_helper.rb
@@ -79,7 +79,7 @@ module BreadcrumbHelper
def access_point_breadcrumb(action)
stop_area_breadcrumb :edit
- add_breadcrumb breadcrumb_label(@access_point), referential_stop_area_access_point_path(@referential, @stop_area,@access_point),:title => breadcrumb_tooltip(@access_point) if action == :edit
+ add_breadcrumb breadcrumb_label(@access_point), referential_stop_area_access_point_path(@referential, @access_point.stop_area,@access_point),:title => breadcrumb_tooltip(@access_point) if action == :edit
end
def access_link_breadcrumb(action)