```ruby
class ClubsController < ApplicationController
  before_filter :authenticate_user!

  def edit
    @club = Club.find params[:id]

    authorize! :manage, @club
  end
end
```

Update ClubsController for Update Action
user
```ruby
class ClubsController < ApplicationController
  respond_to :html, :json

  before_filter :authenticate_user!
  before_filter :get_club

  def edit
    authorize! :update, @club
  end

  def update
    authorize! :update, @club

    @club.update_attributes params[:club]

    respond_with_bip @club
  end

  private

  def get_club
    @club = Club.find params[:id]
  end
end
```
assistant