diff options
| author | Xinhui | 2017-10-20 11:14:03 +0200 |
|---|---|---|
| committer | Xinhui | 2017-10-20 11:14:03 +0200 |
| commit | 5b0d0dfb9c4ae6c45a34fcbee224f1483ff4401b (patch) | |
| tree | 867ed06539d5b7b7b6fa79b7d6190890099144a1 /app/controllers | |
| parent | 5d9793a52fcdf3009e247eeaace4cdd31f33b45a (diff) | |
| download | chouette-core-5b0d0dfb9c4ae6c45a34fcbee224f1483ff4401b.tar.bz2 | |
Breadcrumb for group_of_lines
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/group_of_lines_controller.rb | 5 |
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 |
