diff options
| author | Zakaria BOUZIANE | 2014-09-30 11:22:21 +0200 |
|---|---|---|
| committer | Zakaria BOUZIANE | 2014-09-30 11:22:21 +0200 |
| commit | 9e56d34d401d2eba040a76437a1e4199029b3f6c (patch) | |
| tree | 1bb0e3d2cb9a2cb65843c5db0adba25adb42f10b /app/controllers | |
| parent | beb4b02b54a4fa2a737cb2be521728cd8118cad6 (diff) | |
| parent | 4faeb448b3e570d69a516dce70c1d098f973892d (diff) | |
| download | chouette-core-9e56d34d401d2eba040a76437a1e4199029b3f6c.tar.bz2 | |
Merge branch 'sismo' of https://github.com/afimb/chouette2 into sismo
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/access_links_controller.rb | 4 | ||||
| -rw-r--r-- | app/controllers/access_points_controller.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/access_links_controller.rb b/app/controllers/access_links_controller.rb index 31d183034..b22dd75a8 100644 --- a/app/controllers/access_links_controller.rb +++ b/app/controllers/access_links_controller.rb @@ -19,8 +19,8 @@ class AccessLinksController < ChouetteController @access_point = Chouette::AccessPoint.find(params[:access_point_id]) @access_link = Chouette::AccessLink.find(params[:id]) @stop_area = @access_link.stop_area - show! do - build_breadcrumb :show + show! do |format| + format.html {build_breadcrumb :show} end end diff --git a/app/controllers/access_points_controller.rb b/app/controllers/access_points_controller.rb index 8e1f4664b..ca8e0b156 100644 --- a/app/controllers/access_points_controller.rb +++ b/app/controllers/access_points_controller.rb @@ -30,7 +30,7 @@ class AccessPointsController < ChouetteController } end - build_breadcrumb :show + format.html {build_breadcrumb :show} end end |
