Adds noindex,noarchive robots meta tag on form pages (#7582).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5443 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2011-04-12 19:22:44 +00:00
1 parent 1242e448f3
commit ffd0a9c72c
5 files changed
+12

No files matched your search

+4
View File
@@ -900,6 +900,10 @@ module ApplicationHelper
def favicon
"<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />"
end
def robot_exclusion_tag
'<meta name="robots" content="noindex,follow,noarchive" />'
end
# Returns true if arg is expected in the API response
def include_in_api_response?(arg)