fix robots rule

This commit is contained in:
xianbo 2014-04-19 10:04:55 +08:00
parent 369c015097
commit 2c7615b545
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,10 @@
# by trustie team
#
User-agent: *
Disallow: /projects/*
Disallow: /users/*
Disallow: /course/*
Disallow: /contests/*
<% @projects.each do |p| -%>
Disallow: /projects/<%= p.to_param %>/repository
<% end -%>
Disallow: /admin/