From a425d1c6e46324852fb0973e8665e112ba97aeb1 Mon Sep 17 00:00:00 2001 From: Artem Chernikov Date: Wed, 30 Apr 2014 16:11:34 +0200 Subject: [PATCH] As exception is used - we need to interpolate this string --- app/controllers/admin/eventtypes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/eventtypes_controller.rb b/app/controllers/admin/eventtypes_controller.rb index 53d48797..d29f78cd 100644 --- a/app/controllers/admin/eventtypes_controller.rb +++ b/app/controllers/admin/eventtypes_controller.rb @@ -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