Override @#url_for@ in AM to force generation of absolute links (#10251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9022 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
81554eae5a
commit
7056649a4b
11 files changed
+108
-73
No files matched your search
@@ -30,6 +30,11 @@ 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:
|
||||
|
||||
Reference in new issue
Block a user