[refs #417] Make changes for devise action mailer host set

This commit is contained in:
konstantin.grabar 2012-04-23 16:53:30 +04:00
parent 89bfa8d0a9
commit 0ca6c76ce2
4 changed files with 7 additions and 2 deletions

View File

@ -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
@ -19,4 +20,4 @@ production:
mdv: 192.168.122.19
nau5: 192.168.122.203
product_builder_port: 12554
product_builder_path: /xmlrpc
product_builder_path: /xmlrpc

View File

@ -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
@ -12,4 +13,4 @@ production:
nau5: 192.168.122.203
product_builder_port: 12554
product_builder_path: /xmlrpc
distr_types: ['mdv']
distr_types: ['mdv']

View File

@ -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

View File

@ -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']