From 23a2f7f147ae49f35aa573c2dc68e33c43178471 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 18 Aug 2014 16:31:24 +0100 Subject: Interpolate rather than String#+ https://github.com/bbatsov/ruby-style-guide#concat-strings --- app/controllers/admin_request_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/admin_request_controller.rb') diff --git a/app/controllers/admin_request_controller.rb b/app/controllers/admin_request_controller.rb index 8a5f1bd14..21120e4ad 100644 --- a/app/controllers/admin_request_controller.rb +++ b/app/controllers/admin_request_controller.rb @@ -101,7 +101,7 @@ class AdminRequestController < AdminController # expire cached files expire_for_request(@info_request) email = user.try(:email) ? user.email : 'This request is external so has no associated user' - flash[:notice] = "Request #{url_title} has been completely destroyed. Email of user who made request: " + email + flash[:notice] = "Request #{ url_title } has been completely destroyed. Email of user who made request: #{ email }" redirect_to admin_request_list_url end -- cgit v1.2.3