Display Committee Review on #show and #edit.

Also show submission_text on the #show page for authors.
This commit is contained in:
Michael Ball 2021-04-16 00:33:47 -07:00
parent 0e74c2e296
commit 9786843eac
3 changed files with 33 additions and 7 deletions

View file

@ -169,11 +169,11 @@ class ProposalsController < ApplicationController
private
def event_params
params.require(:event).permit(:event_type_id, :track_id, :difficulty_level_id,
:title, :subtitle, :abstract, :submission_text, :description,
:require_registration, :max_attendees, :language,
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