diff options
author | José Valim <jose.valim@gmail.com> | 2010-05-30 15:53:14 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-30 15:53:14 +0200 |
commit | 9a93844aba44319d3c8487a554124beb00ccc267 (patch) | |
tree | 54348cbf7a6d5d96f8236dc1a9b69420134997db /RAILS_VERSION | |
parent | 0078df6b54e595421bb486613f7bc3693250b592 (diff) | |
download | rails-9a93844aba44319d3c8487a554124beb00ccc267.tar.gz rails-9a93844aba44319d3c8487a554124beb00ccc267.tar.bz2 rails-9a93844aba44319d3c8487a554124beb00ccc267.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 'RAILS_VERSION')
0 files changed, 0 insertions, 0 deletions