diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 05be205..bdc1724 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -13,6 +13,6 @@ class ApplicationController < ActionController::Base end end def default_url_options - {locale: I18n.locale, host:"glonass.htu.tuwien.ac.at"} + {locale: I18n.locale} end end diff --git a/config/environments/development.rb b/config/environments/development.rb index 583fc8b..fbed567 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -15,7 +15,7 @@ Fetsite::Application.configure do # Don't care if the mailer can't send 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 config.active_support.deprecation = :log