Merge pull request #229 from differentreality/create_conf_indicator

remove readonly option for start_date and end_date of conference
This commit is contained in:
Artem Chernikov 2014-06-19 14:04:04 +02:00
commit 8803384d2f
3 changed files with 6 additions and 8 deletions

View file

@ -67,9 +67,7 @@ class Admin::ConferenceController < ApplicationController
redirect_to(admin_conference_path(id: @conference.short_title),
notice: 'Conference was successfully created.')
else
redirect_to(new_admin_conference_path,
alert: 'Creating the Conference failed.' \
"#{@conference.errors.full_messages.join('. ')}.")
render action: 'new'
end
end