Fix asset pipeline stuff

This commit is contained in:
Tom Naessens 2015-09-02 14:05:25 +02:00
parent 4e88be6562
commit 060d4b6a0c

View file

@ -78,5 +78,12 @@ Rails.application.configure do
Paperclip.options[:command_path] = "/usr/local/bin/"
config.action_mailer.default_url_options = { host: 'TODO' }
# Help the asset pipeline for staging
config.x.host = 'zeus.ugent.be'
config.relative_url_root = "/tap"
config.action_mailer.default_url_options = {
host: config.x.host,
script_name: config.relative_url_root,
}
end