From 70be1adfea3e4ddd6e14ba59285d9fc3109bbf65 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Mon, 22 Jul 2013 15:43:58 +0200 Subject: [PATCH] FIX: glonass hardcoded in application_controller and config --- app/controllers/application_controller.rb | 2 +- config/environments/development.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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