aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorXinhui2017-10-20 11:14:03 +0200
committerXinhui2017-10-20 11:14:03 +0200
commit5b0d0dfb9c4ae6c45a34fcbee224f1483ff4401b (patch)
tree867ed06539d5b7b7b6fa79b7d6190890099144a1 /app/controllers
parent5d9793a52fcdf3009e247eeaace4cdd31f33b45a (diff)
downloadchouette-core-5b0d0dfb9c4ae6c45a34fcbee224f1483ff4401b.tar.bz2
Breadcrumb for group_of_lines
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/group_of_lines_controller.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/controllers/group_of_lines_controller.rb b/app/controllers/group_of_lines_controller.rb
index 5cadd40d3..0553ba482 100644
--- a/app/controllers/group_of_lines_controller.rb
+++ b/app/controllers/group_of_lines_controller.rb
@@ -13,9 +13,7 @@ class GroupOfLinesController < BreadcrumbController
def show
@map = GroupOfLineMap.new(resource).with_helpers(self)
@lines = resource.lines.order(:name)
- show! do
- build_breadcrumb :show
- end
+ show!
end
def index
@@ -24,7 +22,6 @@ class GroupOfLinesController < BreadcrumbController
if collection.out_of_bounds?
redirect_to params.merge(:page => 1)
end
- build_breadcrumb :index
}
end
end