This commit is contained in:
Thomas Blazek
2013-07-22 15:49:49 +02:00
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