diff options
author | José Valim <jose.valim@gmail.com> | 2010-05-30 15:53:14 +0200 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-06-03 23:32:10 +1000 |
commit | c3be207ee8267e2ce8af0f4e168be35fb1d6e5e8 (patch) | |
tree | 54348cbf7a6d5d96f8236dc1a9b69420134997db /tools | |
parent | fad29012af65e995a492d0159a50a3fcd98d68f4 (diff) | |
download | rails-c3be207ee8267e2ce8af0f4e168be35fb1d6e5e8.tar.gz rails-c3be207ee8267e2ce8af0f4e168be35fb1d6e5e8.tar.bz2 rails-c3be207ee8267e2ce8af0f4e168be35fb1d6e5e8.zip |
Add :only and :except to controllers MiddlewareStack. This allows
you to do the following:
class PostsController < ApplicationController
use AutheMiddleware, :except => [:index, :show]
end
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions