Skip to content

Commit

Permalink
Put common contacts behind login wall (bots were hitting it and raisi…
Browse files Browse the repository at this point in the history
…ng exceptions)
  • Loading branch information
mhartl committed Oct 28, 2008
1 parent 35fb6c9 commit 757bf03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/people_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ class PeopleController < ApplicationController

skip_before_filter :require_activation, :only => :verify_email
skip_before_filter :admin_warning, :only => [ :show, :update ]
before_filter :login_required, :only => [ :show, :edit, :update ]
before_filter :login_required, :only => [ :show, :edit, :update,
:common_contacts ]
before_filter :correct_user_required, :only => [ :edit, :update ]
before_filter :setup

Expand Down

0 comments on commit 757bf03

Please sign in to comment.