Add room and dates to tracks

They are required only for accepted and confirmed self-organized tracks
This commit is contained in:
AEtherC0r3 2017-07-12 15:56:07 +03:00 committed by Stella Rouzi
parent d616c66745
commit fd93b04f16
9 changed files with 99 additions and 2 deletions

View file

@ -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