summaryrefslogtreecommitdiffstats
path: root/app/models/mailer.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-27 20:43:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-27 20:43:25 +0000
commite6b9ddad18fb78b7dd17e9f422c9467ec14faa74 (patch)
treebc179795b9bc8ec802b9ac5e549ab3284b1f3642 /app/models/mailer.rb
parent7056649a4be931a315fd4b4ad2be79ed8b9850e4 (diff)
downloadredmine-e6b9ddad18fb78b7dd17e9f422c9467ec14faa74.tar.gz
redmine-e6b9ddad18fb78b7dd17e9f422c9467ec14faa74.zip
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
Diffstat (limited to 'app/models/mailer.rb')
-rw-r--r--app/models/mailer.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index 5bb4f7e2c..2502ce2e0 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -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: