From b185c0848191fc4b50627a568e1798e7ee3ad264 Mon Sep 17 00:00:00 2001 From: Alexander Negoda Date: Mon, 30 Jul 2012 03:13:51 +0400 Subject: [PATCH] fix default_url_options for production mode --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 93ae51a..7d2f2b3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -60,7 +60,7 @@ Photomix::Application.configure do # Send deprecation notices to registered listeners config.active_support.deprecation = :notify - config.default_url_options[:host] = 'example.com' + config.action_mailer.default_url_options = { :host => "example.com" } # Log the query plan for queries taking more than this (works # with SQLite, MySQL, and PostgreSQL)