diff --git a/app/controllers/admin/asks_controller.rb b/app/controllers/admin/asks_controller.rb index 8def278..bb0cbd2 100644 --- a/app/controllers/admin/asks_controller.rb +++ b/app/controllers/admin/asks_controller.rb @@ -413,7 +413,7 @@ class Admin::AsksController < OrbitAdminController @mail_sentdate = DateTime.now site = Site.first - mail_from = site.title_translations[site['default_locale']] + mail_from = site.title_translations[site.default_locale] new_history = email_er.new_history host_url = Site.first.root_url rescue "http://"