aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/environment.rb2
-rw-r--r--config/packages1
2 files changed, 2 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 377b347ee..fb9c31b60 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -96,7 +96,7 @@ ActionView::Helpers::TagHelper.module_eval do
end
# Domain for URLs (so can work for scripts, not just web pages)
-ActionController::UrlWriter.default_url_options[:host] = MySociety::Config.get("DOMAIN", 'localhost:3000')
+ActionMailer::Base.default_url_options[:host] = MySociety::Config.get("DOMAIN", 'localhost:3000')
# So that javascript assets use full URL, so proxied admin URLs read javascript OK
if (MySociety::Config.get("DOMAIN", "") != "")
diff --git a/config/packages b/config/packages
index 6f03209d8..f0bed1763 100644
--- a/config/packages
+++ b/config/packages
@@ -22,3 +22,4 @@ mahoro-ruby1.8 | libmahoro-ruby1.8
wdg-html-validator
#libapache2-mod-passenger
mutt
+librack-ruby1.8