From 68cd47abbab72080af8ad4ef5519d6fee8c26080 Mon Sep 17 00:00:00 2001 From: Alexander Negoda Date: Mon, 30 Jul 2012 03:11:42 +0400 Subject: [PATCH] fix default_url_options for production mode --- config/environments/production.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 25689cf..93ae51a 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -59,7 +59,8 @@ Photomix::Application.configure do # Send deprecation notices to registered listeners config.active_support.deprecation = :notify - set default_url_options[:host] = 'example.com' + + config.default_url_options[:host] = 'example.com' # Log the query plan for queries taking more than this (works # with SQLite, MySQL, and PostgreSQL)