fix default_url_options for production mode
This commit is contained in:
parent
a7722cf8d5
commit
5f5b2eca86
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ module Photomix
|
|||
config.active_support.escape_html_entities_in_json = true
|
||||
config.assets.enabled = true
|
||||
config.assets.version = '1.0'
|
||||
config.assets.precompile += %w( ajaxful_rating.css )
|
||||
|
||||
|
||||
# Configure sensitive parameters which will be filtered from the log file.
|
||||
config.filter_parameters += [:password, :password_confirmation]
|
||||
|
|
|
@ -46,10 +46,9 @@ Photomix::Application.configure do
|
|||
# config.action_controller.asset_host = "http://assets.example.com"
|
||||
|
||||
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
||||
config.assets.precompile += %w( front.js front_preloader.js )
|
||||
|
||||
# Disable delivery errors, bad email addresses will be ignored
|
||||
# config.action_mailer.raise_delivery_errors = false
|
||||
config.assets.precompile += %w( ajaxful_rating.css )
|
||||
|
||||
# Enable threaded mode
|
||||
# config.threadsafe!
|
||||
|
@ -60,6 +59,7 @@ Photomix::Application.configure do
|
|||
|
||||
# Send deprecation notices to registered listeners
|
||||
config.active_support.deprecation = :notify
|
||||
set default_url_options[:host] = 'example.com'
|
||||
|
||||
# Log the query plan for queries taking more than this (works
|
||||
# with SQLite, MySQL, and PostgreSQL)
|
||||
|
|
Loading…
Reference in a new issue