Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
12
app/views/welcome/robots.text.erb
Normal file
12
app/views/welcome/robots.text.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
User-agent: *
|
||||
<% @projects.each do |project| -%>
|
||||
<% [project, project.id].each do |p| -%>
|
||||
Disallow: <%= url_for(:controller => 'repositories', :action => :show, :id => p) %>
|
||||
Disallow: <%= url_for(project_issues_path(:project_id => p)) %>
|
||||
Disallow: <%= url_for(project_activity_path(:id => p)) %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
Disallow: <%= url_for(issues_gantt_path) %>
|
||||
Disallow: <%= url_for(issues_calendar_path) %>
|
||||
Disallow: <%= url_for(activity_path) %>
|
||||
Disallow: <%= url_for(search_path) %>
|
Loading…
Add table
Add a link
Reference in a new issue