As exception is used - we need to interpolate this string

This commit is contained in:
Artem Chernikov 2014-04-30 16:11:34 +02:00
parent 90fe1cc995
commit a425d1c6e4

View file

@ -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