# File lib/hobo/extensions/action_mailer/helper.rb, line 5 def initialize(*) super @app_name = Rails.application.config.hobo.app_name if self.class.default_url_options.empty? # might be set later in the before filter so we try to set it here d = Rails.application.config.action_mailer.default_url_options self.class.default_url_options = d.dup if d end @host = self.class.default_url_options[:host] end