aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/organisations_controller.rb
diff options
context:
space:
mode:
authorXinhui2017-10-26 11:51:07 +0200
committerXinhui2017-10-26 11:51:07 +0200
commit68bc446c975ff07cf2b4eb9f695da2dce93ee63d (patch)
tree02249672f6d65a6167775702552a701756fa94e7 /app/controllers/organisations_controller.rb
parent0947fea02efce26c8c8d13bc99a5341ec7a20c66 (diff)
downloadchouette-core-68bc446c975ff07cf2b4eb9f695da2dce93ee63d.tar.bz2
Remove breadcrumb_controller
Diffstat (limited to 'app/controllers/organisations_controller.rb')
-rw-r--r--app/controllers/organisations_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/organisations_controller.rb b/app/controllers/organisations_controller.rb
index 51a325586..d80541800 100644
--- a/app/controllers/organisations_controller.rb
+++ b/app/controllers/organisations_controller.rb
@@ -1,4 +1,4 @@
-class OrganisationsController < BreadcrumbController
+class OrganisationsController < InheritedResources::Base
defaults :resource_class => Organisation
respond_to :html, :only => [:edit, :show, :update]
@@ -18,6 +18,6 @@ class OrganisationsController < BreadcrumbController
def organisation_params
params.require(:organisation).permit(:name)
end
-
+
end