Add room and dates to tracks
They are required only for accepted and confirmed self-organized tracks
This commit is contained in:
parent
06ecc872ea
commit
5774d09d2b
9 changed files with 99 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ module Admin
|
|||
private
|
||||
|
||||
def track_params
|
||||
params.require(:track).permit(:name, :description, :color, :short_name, :cfp_active)
|
||||
params.require(:track).permit(:name, :description, :color, :short_name, :cfp_active, :start_date, :end_date, :room_id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue