FIX: glonass hardcoded in application_controller and config

This commit is contained in:
Andreas Stephanides
2013-07-22 15:43:58 +02:00
parent ce9b90b57f
commit 70be1adfea
2 changed files with 2 additions and 2 deletions

View File

@@ -13,6 +13,6 @@ class ApplicationController < ActionController::Base
end end
end end
def default_url_options def default_url_options
{locale: I18n.locale, host:"glonass.htu.tuwien.ac.at"} {locale: I18n.locale}
end end
end end

View File

@@ -15,7 +15,7 @@ Fetsite::Application.configure do
# Don't care if the mailer can't send # Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = { :host => 'glonass.htu.tuwien.ac.at' } config.action_mailer.default_url_options = {} # :host => 'glonass.htu.tuwien.ac.at' }
# Print deprecation notices to the Rails logger # Print deprecation notices to the Rails logger
config.active_support.deprecation = :log config.active_support.deprecation = :log