aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-02-21 17:51:38 +1100
committerHenare Degan <henare.degan@gmail.com>2013-02-21 17:51:38 +1100
commit919ea49682f899333a59f9f50fc5fe481a13d3ff (patch)
tree11606d8db3f8f4d820c6622465b874af92df0700 /app/controllers/request_controller.rb
parent75afaee10ab4ce41dd4e2dc0054a8fb1a2392f12 (diff)
Cast to a string so it's not saved to the DB as an object under Ruby 1.9.3
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index 3bd032c3d..8786de9fc 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -345,7 +345,7 @@ class RequestController < ApplicationController
end
if !authenticated?(
- :web => _("To send your FOI request"),
+ :web => _("To send your FOI request").to_str,
:email => _("Then your FOI request to {{public_body_name}} will be sent.",:public_body_name=>@info_request.public_body.name),
:email_subject => _("Confirm your FOI request to ") + @info_request.public_body.name
)