aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/connection_links_controller.rb
diff options
context:
space:
mode:
authorLuc Donnet2017-10-30 11:45:07 +0100
committerGitHub2017-10-30 11:45:07 +0100
commitcb7e16653eb1dcb71fb46c84d7c1f3ea8aafd69a (patch)
treeb9e3993c435c63517366c1ce11b9d3a9efa5b793 /app/controllers/connection_links_controller.rb
parent76d1787b32e28e4dbb3664e2bad99366781fdcd2 (diff)
parentd68f820ee402cd94d9f5fd4405f49436c4847c4b (diff)
downloadchouette-core-cb7e16653eb1dcb71fb46c84d7c1f3ea8aafd69a.tar.bz2
Merge pull request #104 from af83/4726-breadcrumb
4726 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