As exception is used - we need to interpolate this string
This commit is contained in:
parent
90fe1cc995
commit
a425d1c6e4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,6 +13,6 @@ class Admin::EventtypesController < ApplicationController
|
|||
rescue Exception => e
|
||||
redirect_to(admin_conference_eventtypes_path(
|
||||
conference_id: @conference.short_title),
|
||||
alert: 'Event types update failed: #{e.message}')
|
||||
alert: "Event types update failed: #{e.message}")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue