robot.diff

Toshi MARUYAMA, 2018-01-02 11:02

Download (633 Bytes)

View differences:

app/views/welcome/robots.text.erb
1 1
User-agent: *
2
<% @projects.each do |p| -%>
2
<% @projects.each do |project| -%>
3
<%   [project, project.id].each do |p| -%>
3 4
Disallow: <%= url_for(:controller => 'repositories', :action => :show, :id => p) %>
4 5
Disallow: <%= url_for(project_issues_path(:project_id => p)) %>
5 6
Disallow: <%= url_for(project_activity_path(:id => p)) %>
7
<%   end -%>
6 8
<% end -%>
7 9
Disallow: <%= url_for(issues_gantt_path) %>
8 10
Disallow: <%= url_for(issues_calendar_path) %>