Permalink
Browse files

adding unban to the except statement

  • Loading branch information...
1 parent fa2a105 commit f9e5f29063efe49e26373ce623b3c6139cb7ffc3 erik committed Jul 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/profiles_controller.rb
@@ -1,7 +1,7 @@
class ProfilesController < ApplicationController
#resources_controller_for :profiles, :class => User #, :only => [:show]
#before_filter :redirect_appropriately, :except => [:show]
- before_filter :get_profile, :except => :ban
+ before_filter :get_profile, :except => [:ban, :unban]
def ban
user = User.find(params[:id])

0 comments on commit f9e5f29

Please sign in to comment.