Aaron Patterson
27902c7e96
Fix another rack SPEC violation
2015-08-25 17:22:52 -07:00
Thiago Pradi
3c181f66a3
Removing old helper that was necessary for compatibility with Ruby 1.8.x
2015-02-22 23:42:51 -03:00
Yves Senn
4d7f53379a
cleanup, remove trailing whitespace within actionpack
2012-10-27 16:03:18 +02:00
Collin Miller
96650f704a
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
2010-09-12 07:35:54 +08:00
José Valim
9a93844aba
Add :only and :except to controllers MiddlewareStack. This allows
...
you to do the following:
class PostsController < ApplicationController
use AutheMiddleware, :except => [:index, :show]
end
2010-05-30 15:53:14 +02:00
wycats
e1c030edd8
Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack response was a String.
2010-03-19 18:46:29 -07:00
Joshua Peek
018b79dd36
File extra test folders into controller, dispatch, or template
2009-10-03 21:05:51 -05:00