diff options
Diffstat (limited to 'config/application.rb')
| -rw-r--r-- | config/application.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/application.rb b/config/application.rb index 07005e9f9..865becd53 100644 --- a/config/application.rb +++ b/config/application.rb @@ -13,7 +13,7 @@ module ChouetteIhm class Application < Rails::Application config.generators do |g| - g.test_framework :rspec + g.test_framework :rspec end # Settings in config/environments/* take precedence over those specified here. @@ -29,7 +29,7 @@ module ChouetteIhm # Activate observers that should always be running. # config.active_record.observers = :cacher, :garbage_collector, :forum_observer - + # custom exception pages config.exceptions_app = self.routes @@ -40,6 +40,7 @@ module ChouetteIhm # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] config.i18n.default_locale = :fr + I18n.enforce_available_locales = false # Configure the default encoding used in templates for Ruby 1.9. config.encoding = "utf-8" |
