Add a switch for allowing registration on events (proposals)
This commit is contained in:
parent
75bf1380ba
commit
03f7951676
10 changed files with 30 additions and 9 deletions
|
|
@ -57,7 +57,11 @@ module Admin
|
|||
private
|
||||
|
||||
def cfp_params
|
||||
params.require(:cfp).permit(:start_date, :end_date, :description, :cfp_type)
|
||||
params.require(:cfp).permit(
|
||||
:start_date, :end_date,
|
||||
:description, :cfp_type,
|
||||
:enable_registrations
|
||||
)
|
||||
end
|
||||
|
||||
def cfp_params_or_first_remaining_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue