Display Committee Review on #show and #edit.
Also show submission_text on the #show page for authors.
This commit is contained in:
parent
0e74c2e296
commit
9786843eac
3 changed files with 33 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue