annotate .svn/pristine/c4/c4837138f02cd9a9926736a32cfa25cf8b4c7fea.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 # Settings specified here will take precedence over those in config/application.rb
Chris@1296 2 RedmineApp::Application.configure do
Chris@1296 3 # The test environment is used exclusively to run your application's
Chris@1296 4 # test suite. You never need to work with it otherwise. Remember that
Chris@1296 5 # your test database is "scratch space" for the test suite and is wiped
Chris@1296 6 # and recreated between test runs. Don't rely on the data there!
Chris@1296 7 config.cache_classes = true
Chris@1296 8
Chris@1296 9 # Log error messages when you accidentally call methods on nil.
Chris@1296 10 config.whiny_nils = true
Chris@1296 11
Chris@1296 12 # Show full error reports and disable caching
Chris@1296 13 #config.action_controller.consider_all_requests_local = true
Chris@1296 14 config.action_controller.perform_caching = false
Chris@1296 15
Chris@1296 16 config.action_mailer.perform_deliveries = true
Chris@1296 17
Chris@1296 18 # Tell Action Mailer not to deliver emails to the real world.
Chris@1296 19 # The :test delivery method accumulates sent emails in the
Chris@1296 20 # ActionMailer::Base.deliveries array.
Chris@1296 21 config.action_mailer.delivery_method = :test
Chris@1296 22
Chris@1296 23 # Skip protect_from_forgery in requests
Chris@1296 24 # http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
Chris@1296 25 config.action_controller.allow_forgery_protection = false
Chris@1296 26
Chris@1296 27 config.active_support.deprecation = :log
Chris@1296 28
Chris@1296 29 config.secret_token = 'a secret token for running the tests'
Chris@1296 30 end