mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 14:11:10 +00:00
Change update/save failures to use flash type :error instead of :alert
This commit is contained in:
parent
19c54bd935
commit
1c1e56ed46
10 changed files with 13 additions and 13 deletions
|
|
@ -183,7 +183,7 @@ module Admin
|
|||
@event = @conference.program.events.find(params[:id])
|
||||
if !@event
|
||||
redirect_to admin_conference_program_events_path(conference_id: @conference.short_title),
|
||||
alert: 'Error! Could not find event!'
|
||||
error: 'Error! Could not find event!'
|
||||
return
|
||||
end
|
||||
@event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue