diff options
| author | Luc Donnet | 2012-02-23 15:01:03 +0100 |
|---|---|---|
| committer | Luc Donnet | 2012-02-23 15:01:03 +0100 |
| commit | 1bf6eb00189e124674a70cb7216fb002f12b79ca (patch) | |
| tree | 725e3c12d4bd8936f124aa4071ac5d31432e2099 /config | |
| parent | da3e849d4d89ffa3de2d370a30d3d5531b50ea5b (diff) | |
| download | chouette-core-1bf6eb00189e124674a70cb7216fb002f12b79ca.tar.bz2 | |
Update controler for resource and collection
Diffstat (limited to 'config')
| -rw-r--r-- | config/environments/production.rb | 9 | ||||
| -rw-r--r-- | config/warble.rb | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 88da4e763..1962b18b9 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -31,10 +31,13 @@ ChouetteIhm::Application.configure do # config.force_ssl = true # See everything in the log (default is :info) - # config.log_level = :debug + #config.log_level = :info # Use a different logger for distributed setups - # config.logger = SyslogLogger.new + require 'syslog_logger' + config.logger = SyslogLogger.new("rails/chouette2").tap do |logger| + logger.level = Logger::INFO + end # Use a different cache store in production # config.cache_store = :mem_cache_store @@ -42,6 +45,8 @@ ChouetteIhm::Application.configure do # Enable serving of images, stylesheets, and JavaScripts from an asset server # config.action_controller.asset_host = "http://assets.example.com" + #config.assets.prefix = "/chouette2/assets" + # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # config.assets.precompile += %w( search.js ) diff --git a/config/warble.rb b/config/warble.rb index d007d2f39..70a4ca946 100644 --- a/config/warble.rb +++ b/config/warble.rb @@ -11,10 +11,10 @@ Warbler::Config.new do |config| # config.features = %w(gemjar) # Application directories to be included in the webapp. - config.dirs = %w(app config lib log vendor tmp) + config.dirs = %w(app config lib log vendor tmp db) # Additional files/directories to include, above those in config.dirs - config.includes = FileList["db"] + #config.includes = FileList["db"] # Additional files/directories to exclude # config.excludes = FileList["lib/tasks/*"] |
