diff options
| author | Bruno Perles | 2015-10-28 10:11:50 +0100 |
|---|---|---|
| committer | Bruno Perles | 2015-10-28 10:11:50 +0100 |
| commit | 843bec92850de6f4b46498611842f894a78e7d3d (patch) | |
| tree | 61930b753c7d91e9c9cfa383e40c251b3e0d3347 /app/controllers/breadcrumb_controller.rb | |
| parent | daae87f5051b1ba267d3b750c3e7f77f5b90b6c3 (diff) | |
| download | chouette-core-843bec92850de6f4b46498611842f894a78e7d3d.tar.bz2 | |
Add journey_frequencies fields, locales and some other little update
Diffstat (limited to 'app/controllers/breadcrumb_controller.rb')
| -rw-r--r-- | app/controllers/breadcrumb_controller.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/controllers/breadcrumb_controller.rb b/app/controllers/breadcrumb_controller.rb index c1bb4289c..29ecd262c 100644 --- a/app/controllers/breadcrumb_controller.rb +++ b/app/controllers/breadcrumb_controller.rb @@ -1,26 +1,26 @@ class BreadcrumbController < InheritedResources::Base include BreadcrumbHelper - + def show - show! do + show! do build_breadcrumb :show end end - + def index - index! do + index! do build_breadcrumb :index end end - + def edit edit! do build_breadcrumb :edit end end - def update + def update update! do |success, failure| build_breadcrumb :edit end @@ -31,7 +31,7 @@ class BreadcrumbController < InheritedResources::Base build_breadcrumb :new end end - + def create create! do |success, failure| build_breadcrumb :new |
