aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/breadcrumb_controller.rb
diff options
context:
space:
mode:
authorBruno Perles2015-10-28 10:11:50 +0100
committerBruno Perles2015-10-28 10:11:50 +0100
commit843bec92850de6f4b46498611842f894a78e7d3d (patch)
tree61930b753c7d91e9c9cfa383e40c251b3e0d3347 /app/controllers/breadcrumb_controller.rb
parentdaae87f5051b1ba267d3b750c3e7f77f5b90b6c3 (diff)
downloadchouette-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.rb14
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