fix default_url_options for production mode

master
Alexander Negoda 2012-07-30 03:10:12 +04:00
parent a7722cf8d5
commit 5f5b2eca86
2 changed files with 3 additions and 3 deletions

View File

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

View File

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