Commit ebc3feff authored by Mario Manno's avatar Mario Manno

fix strong_params for attachment in events_controller

parent 27390f77
......@@ -239,7 +239,7 @@ class EventsController < ApplicationController
def event_params
params.require(:event).permit(
:id, :title, :subtitle, :event_type, :time_slots, :state, :start_time, :public, :language, :abstract, :description, :logo, :track_id, :room_id, :note, :submission_note, :do_not_record, :recording_license,
event_attachments_attributes: %i(id title public _destroy),
event_attachments_attributes: %i(id title attachment public _destroy),
ticket_attributes: %i(id remote_ticket_id),
links_attributes: %i(id title url _destroy),
event_people_attributes: %i(id person_id event_role role_state _destroy)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment