Rails3: use String#html_safe for favicon in ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6466 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3605a18137
commit
10f04acf45
|
@ -923,7 +923,7 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def favicon
|
def favicon
|
||||||
"<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />"
|
"<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />".html_safe
|
||||||
end
|
end
|
||||||
|
|
||||||
def robot_exclusion_tag
|
def robot_exclusion_tag
|
||||||
|
|
Loading…
Reference in New Issue