diff options
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 | 
