Add fields in conference edit form for hours

Make possible to change the start and end hours.
This commit is contained in:
Ana 2016-08-15 12:39:39 +02:00 committed by Ana María Martínez Gómez
parent b80aff3cce
commit 9b9d255e3b
2 changed files with 4 additions and 1 deletions

View file

@ -177,7 +177,8 @@ module Admin
def conference_params
params.require(:conference).permit(:title, :short_title, :description, :timezone,
:start_date, :end_date, :rooms_attributes, :tracks_attributes,
:start_date, :end_date, :start_hour, :end_hour,
:rooms_attributes, :tracks_attributes,
:tickets_attributes, :event_types_attributes,
:picture, :picture_cache, :questions_attributes,
:question_ids, :answers_attributes, :answer_ids, :difficulty_levels_attributes,