fix default_url_options for production mode

This commit is contained in:
Alexander Negoda 2012-07-30 03:13:51 +04:00
parent 68cd47abba
commit b185c08481

View file

@ -60,7 +60,7 @@ Photomix::Application.configure do
# Send deprecation notices to registered listeners # Send deprecation notices to registered listeners
config.active_support.deprecation = :notify 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 # Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL) # with SQLite, MySQL, and PostgreSQL)