aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/breadcrumb_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/breadcrumb_controller.rb')
-rw-r--r--app/controllers/breadcrumb_controller.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/controllers/breadcrumb_controller.rb b/app/controllers/breadcrumb_controller.rb
index 143651b52..29ecd262c 100644
--- a/app/controllers/breadcrumb_controller.rb
+++ b/app/controllers/breadcrumb_controller.rb
@@ -1,37 +1,37 @@
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
end
def new
- new! do
+ new! do
build_breadcrumb :new
end
end
-
+
def create
create! do |success, failure|
build_breadcrumb :new