Skip to content

Commit

Permalink
特定のコントローラでフィルタを無効化したい場合はフィルタに指定したメソッドをオーバーライドする (何もしないメソッドで上書きする)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanny committed Jan 25, 2010
1 parent b3c4896 commit ae6b48e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions depot/app/controllers/store_controller.rb
Expand Up @@ -65,4 +65,8 @@ def redirect_to_index (msg = nil)
flash[:notice] = msg if msg
redirect_to :action => "index"
end

protected
def authorize
end
end

0 comments on commit ae6b48e

Please sign in to comment.