This project is archived and is in readonly mode.
Changeset [96650f704a7a36097d634972484a305a639143c7] by Collin Miller
September 12th, 2010 @ 12:35 AM
added block arguments to ActionController::Metal#use
Useful for cases such as warden, where a block configuration is taken.
class SomeController < ApplicationController
use RailsWarden::Manager do |manager|
manager.default_strategies :facebook_oauth
manager.failure_app = SomeController.action(:authorize)
end
end
http://github.com/rails/rails/commit/96650f704a7a36097d634972484a30...
Committed by Collin Miller
- M actionpack/lib/action_controller/metal.rb
- M actionpack/test/controller/new_base/middleware_test.rb
- M actionpack/test/dispatch/middleware_stack_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>