Replaced delayed job with sidekiq
This commit is contained in:
@@ -51,5 +51,12 @@ BikeBike::Application.configure do
|
||||
config.serve_static_files = true
|
||||
# config.action_controller.perform_caching = true
|
||||
|
||||
I18n.config.language_detection_method = I18n::Config::DETECT_LANGUAGE_FROM_URL_PARAM
|
||||
|
||||
# to be appraised of mailing errors
|
||||
config.action_mailer.raise_delivery_errors = true
|
||||
# to deliver to the browser instead of email
|
||||
config.action_mailer.delivery_method = :letter_opener
|
||||
|
||||
Paypal.sandbox!
|
||||
end
|
||||
|
||||
@@ -98,4 +98,7 @@ BikeBike::Application.configure do
|
||||
}
|
||||
config.action_mailer.raise_delivery_errors = true
|
||||
config.action_mailer.perform_deliveries = true
|
||||
|
||||
I18n.config.language_detection_method = I18n::Config::DETECT_LANGUAGE_FROM_SUBDOMAIN
|
||||
I18n.config.subdomain_format = 'preview-%'
|
||||
end
|
||||
|
||||
@@ -99,4 +99,6 @@ BikeBike::Application.configure do
|
||||
}
|
||||
config.action_mailer.raise_delivery_errors = true
|
||||
config.action_mailer.perform_deliveries = true
|
||||
I18n.config.language_detection_method = I18n::Config::DETECT_LANGUAGE_FROM_SUBDOMAIN
|
||||
I18n.config.host_locale_regex = /^preview\-([a-z]{2})\.bikebike\.org$/
|
||||
end
|
||||
|
||||
@@ -35,5 +35,8 @@ BikeBike::Application.configure do
|
||||
|
||||
# Print deprecation notices to the stderr.
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
I18n.config.language_detection_method = I18n::Config::DETECT_LANGUAGE_FROM_URL_PARAM
|
||||
|
||||
Paypal.sandbox!
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user