diff options
| author | Luc Donnet | 2017-10-30 11:45:07 +0100 |
|---|---|---|
| committer | GitHub | 2017-10-30 11:45:07 +0100 |
| commit | cb7e16653eb1dcb71fb46c84d7c1f3ea8aafd69a (patch) | |
| tree | b9e3993c435c63517366c1ce11b9d3a9efa5b793 /app/controllers/organisations_controller.rb | |
| parent | 76d1787b32e28e4dbb3664e2bad99366781fdcd2 (diff) | |
| parent | d68f820ee402cd94d9f5fd4405f49436c4847c4b (diff) | |
| download | chouette-core-cb7e16653eb1dcb71fb46c84d7c1f3ea8aafd69a.tar.bz2 | |
Merge pull request #104 from af83/4726-breadcrumb
4726 breadcrumb
Diffstat (limited to 'app/controllers/organisations_controller.rb')
| -rw-r--r-- | app/controllers/organisations_controller.rb | 4 |
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 |
