This project is archived and is in readonly mode.

Changeset [9a93844aba44319d3c8487a554124beb00ccc267] by José Valim

May 30th, 2010 @ 02:53 PM

Add :only and :except to controllers MiddlewareStack. This allows
you to do the following:

class PostsController < ApplicationController

use AutheMiddleware, :except => [:index, :show]

end http://github.com/rails/rails/commit/9a93844aba44319d3c8487a554124b...

Committed by José Valim

  • M actionpack/lib/action_controller/metal.rb
  • M actionpack/lib/action_dispatch/middleware/stack.rb
  • M actionpack/test/controller/new_base/middleware_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>