aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_request_controller.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-08-18 16:31:24 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-18 16:31:24 +0100
commit23a2f7f147ae49f35aa573c2dc68e33c43178471 (patch)
tree567058d4cfa56c9d98ac5a018b657fada92856a4 /app/controllers/admin_request_controller.rb
parent96e0815eedaa93bceaab176b50271ee8742aba8a (diff)
Interpolate rather than String#+
https://github.com/bbatsov/ruby-style-guide#concat-strings
Diffstat (limited to 'app/controllers/admin_request_controller.rb')
-rw-r--r--app/controllers/admin_request_controller.rb2
1 files changed, 1 insertions, 1 deletions
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