Mailer#url_for not called in views with Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9023 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-02-27 20:43:25 +00:00
parent 7056649a4b
commit e6b9ddad18
10 changed files with 17 additions and 21 deletions
-5
View File
@@ -30,11 +30,6 @@ class Mailer < ActionMailer::Base
{ :host => h, :protocol => Setting.protocol }
end
def url_for(options)
options[:only_path] = false if options.is_a?(Hash)
super options
end
# Builds a tmail object used to email recipients of the added issue.
#
# Example: