fix default_url_options for production mode

master
Alexander Negoda 2012-07-30 03:11:42 +04:00
parent 5f5b2eca86
commit 68cd47abba
1 changed files with 2 additions and 1 deletions

View File

@ -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)