aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/organisations_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/organisations_controller.rb')
-rw-r--r--app/controllers/organisations_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/organisations_controller.rb b/app/controllers/organisations_controller.rb
index 9faea18a5..026892613 100644
--- a/app/controllers/organisations_controller.rb
+++ b/app/controllers/organisations_controller.rb
@@ -14,5 +14,10 @@ class OrganisationsController < BreadcrumbController
def resource
@organisation = current_organisation
end
+
+ def organisation_params
+ params.require(:organisation).permit(:name)
+ end
+
end