aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/events_controller.rb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-18 19:38:44 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-18 19:38:44 +0000
commit8185939b2629581dd9264dbbc37f859e19436f31 (patch)
treefdbc4f11f8d6c911ac7ebc4563254ae5299db603 /app/controllers/events_controller.rb
parent1fe9bf5c59ba9d4df5d2c917896348a0e23613a0 (diff)
wip: stuck on notnull error...
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