[refs #417] Make changes for devise action mailer host set
This commit is contained in:
parent
89bfa8d0a9
commit
0ca6c76ce2
|
@ -9,6 +9,7 @@ common: &common
|
|||
|
||||
production:
|
||||
<<: *common
|
||||
action_mailer_host: "http://school.rosalab.ru/"
|
||||
root_path: /share
|
||||
nginx_log: /srv/rosa_build/shared/log/nginx.access.log
|
||||
do-not-reply-email: do-not-reply@rosalab.ru
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
production:
|
||||
action_mailer_host: "https://abf.rosalinux.ru/"
|
||||
root_path: /share
|
||||
nginx_log: /srv/rosa_build/shared/log/nginx.access.log
|
||||
do-not-reply-email: do-not-reply@rosalab.ru
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
production:
|
||||
action_mailer_host: "http://dev-abf.rosalinux.ru/"
|
||||
root_path: /share
|
||||
nginx_log: /srv/rosa_build/shared/log/nginx.access.log
|
||||
do-not-reply-email: do-not-reply@rosalab.ru
|
||||
|
|
|
@ -10,3 +10,5 @@ config = {:project_root => File.join(APP_CONFIG['root_path'], 'git_projects'), :
|
|||
# Rosa::Application.config.middleware.insert_before 0, ::Grack::Handler, config
|
||||
Rosa::Application.config.middleware.insert_after ::Rails::Rack::Logger, ::Grack::Handler, config
|
||||
Rosa::Application.config.middleware.insert_before ::Grack::Handler, ::Grack::Auth
|
||||
|
||||
Rosa::Application.config.action_mailer.default_url_options = { :host => APP_CONFIG['action_mailer_host'] } if APP_CONFIG['action_mailer_host']
|
||||
|
|
Loading…
Reference in New Issue