fix default_url_options for production mode

This commit is contained in:
Alexander Negoda 2012-07-30 03:11:42 +04:00
parent 5f5b2eca86
commit 68cd47abba

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)