@@ -900,6 +900,10 module ApplicationHelper | |||
|
900 | 900 | def favicon |
|
901 | 901 | "<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />" |
|
902 | 902 | end |
|
903 | ||
|
904 | def robot_exclusion_tag | |
|
905 | '<meta name="robots" content="noindex,follow,noarchive" />' | |
|
906 | end | |
|
903 | 907 | |
|
904 | 908 | # Returns true if arg is expected in the API response |
|
905 | 909 | def include_in_api_response?(arg) |
@@ -74,3 +74,6 | |||
|
74 | 74 | <%= submit_tag l(:button_move_and_follow), :name => 'follow' %> |
|
75 | 75 | <% end %> |
|
76 | 76 | <% end %> |
|
77 | <% content_for :header_tags do %> | |
|
78 | <%= robot_exclusion_tag %> | |
|
79 | <% end %> |
@@ -1,3 +1,6 | |||
|
1 | 1 | <h2><%=h "#{@issue.tracker.name} ##{@issue.id}" %></h2> |
|
2 | 2 | |
|
3 | 3 | <%= render :partial => 'edit' %> |
|
4 | <% content_for :header_tags do %> | |
|
5 | <%= robot_exclusion_tag %> | |
|
6 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now