Skip to content

Commit

Permalink
[webui] don't let google spider request diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Dec 18, 2013
1 parent 7661b7f commit 60a1bdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/app/controllers/webui/request_controller.rb
Expand Up @@ -8,6 +8,8 @@ class Webui::RequestController < Webui::WebuiController
helper 'webui/package'

before_filter :require_login, :only => [:save_comment]
# requests do not really add much value for our page rank :)
before_filter :lockout_spiders

def add_reviewer_dialog
@request_id = params[:id]
Expand Down

0 comments on commit 60a1bdf

Please sign in to comment.