Merge pull request #16 from monfresh/threaded-mode
updated threaded mode to allow rake tasks
This commit is contained in:
commit
8c6ccc7c49
|
@ -53,7 +53,7 @@ AdoptAThing::Application.configure do
|
|||
config.action_mailer.default_url_options = {:host => 'adoptahydrant.org'}
|
||||
|
||||
# Enable threaded mode
|
||||
config.threadsafe!
|
||||
config.threadsafe! unless $rails_rake_task
|
||||
|
||||
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
||||
# the I18n.default_locale when a translation can not be found)
|
||||
|
|
Loading…
Reference in New Issue