aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/events_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/events_controller.rb')
-rw-r--r--app/controllers/events_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb
index 058486d..d819632 100644
--- a/app/controllers/events_controller.rb
+++ b/app/controllers/events_controller.rb
@@ -67,6 +67,6 @@ class EventsController < ApplicationController
# Only allow a list of trusted parameters through.
def event_params
- params.require(:event).permit(:date, :name)
+ params.require(:event).permit(:date, :name, :organisation_id)
end
end