aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/connection_links_controller.rb
diff options
context:
space:
mode:
authorXinhui2017-10-25 12:23:14 +0200
committerXinhui2017-10-25 12:23:14 +0200
commit118d1ae0c7ed66f408c5e260126ee553feda57a4 (patch)
tree2a638dadab61a96b60b1f5702014457efcf0ada4 /app/controllers/connection_links_controller.rb
parenta83fbdaab1c9a6c73badf3e25dcfab8701d555b5 (diff)
downloadchouette-core-118d1ae0c7ed66f408c5e260126ee553feda57a4.tar.bz2
Remove method build_breadcrumb
Diffstat (limited to 'app/controllers/connection_links_controller.rb')
-rw-r--r--app/controllers/connection_links_controller.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/connection_links_controller.rb b/app/controllers/connection_links_controller.rb
index 403f0ed9e..b56450291 100644
--- a/app/controllers/connection_links_controller.rb
+++ b/app/controllers/connection_links_controller.rb
@@ -18,23 +18,19 @@ class ConnectionLinksController < ChouetteController
if collection.out_of_bounds?
redirect_to params.merge(:page => 1)
end
- build_breadcrumb :index
}
end
end
def show
@map = ConnectionLinkMap.new(resource).with_helpers(self)
- show! do
- build_breadcrumb :show
- end
+ show!
end
def select_areas
@connection_link = connection_link
@departure = connection_link.departure
@arrival = connection_link.arrival
- build_breadcrumb :show
end
protected