mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Improve Error messages
- Improve error messages in event schedules, schedules and program controller. - Two respond_to blocks in the update method of program controller.
This commit is contained in:
parent
c687c1072e
commit
e8261d41bc
4 changed files with 13 additions and 11 deletions
|
|
@ -17,7 +17,7 @@ module Admin
|
|||
notice: 'Schedule was successfully created.'
|
||||
else
|
||||
redirect_to admin_conference_schedules_path(conference_id: @conference.short_title),
|
||||
error: 'Could not create schedule'
|
||||
error: "Could not create schedule. #{@schedule.errors.full_messages.join('. ')}."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue