Delinting

This commit is contained in:
Michael Ball 2021-04-17 17:29:58 -07:00
parent 5a3012f0b7
commit 4c056f208e
2 changed files with 8 additions and 8 deletions

View file

@ -169,11 +169,11 @@ class ProposalsController < ApplicationController
private
def event_params
# TODO-SNAPCON: Restrict committee review to admins.
params.require(:event).permit(:event_type_id, :track_id, :difficulty_level_id,
:title, :subtitle, :abstract, :submission_text, :description,
:require_registration, :max_attendees, :language,
:committee_review, speaker_ids: [], volunteer_ids: [])
# TODO-SNAPCON: Restrict committee review to admins.
params.require(:event).permit(:event_type_id, :track_id, :difficulty_level_id,
:title, :subtitle, :abstract, :submission_text, :description,
:require_registration, :max_attendees, :language,
:committee_review, speaker_ids: [], volunteer_ids: [])
end
def user_params