aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/responder.rb
Commit message (Collapse)AuthorAgeFilesLines
* escape constant namesJoost Baaij2010-08-261-5/+5
|
* Use attribute readers as they are faster in general.José Valim2010-08-191-8/+2
|
* Small changes to responder:José Valim2010-06-261-5/+13
| | | | | | * resources is always an array; * Lazy retrieve request and formats; * Alias api_location and navigation_location to resource_location, making easier to change its behavior without affecting each other and without a need to reimplement any of the behavior methods.
* Fix a bug where responders were not working properly on method override.José Valim2010-05-241-1/+1
|
* Move the error raising to api_behavior.José Valim2010-04-071-1/+2
|
* * Change the object used in routing constraints to be an instance ofwycats2010-04-031-1/+1
| | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request
* Ensure json is loaded before using responders.José Valim2010-03-171-0/+2
|
* Merge docrailsPratik Naik2010-01-171-17/+17
|
* Responder redirects to resource if destroy fails.José Valim2009-12-071-2/+7
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Allow ActionController::Responder to have a common entry point for all formats.José Valim2009-12-011-3/+8
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Split mime responder into smaller chunks and allow action to be configured.José Valim2009-11-131-17/+27
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Only undef to_json if it's definedJeremy Kemper2009-10-191-1/+1
|
* Ensure that blocks are also handled inside the responder.José Valim2009-08-291-5/+20
|
* Attempt to render the template inside the responder, so it can be used for ↵José Valim2009-08-291-5/+9
| | | | | | caching and pagination. Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Ensure collections are not treated as nested resources.José Valim2009-08-131-5/+5
|
* Renamed ActionController::Renderer to ActionController::Responder and ↵José Valim2009-08-081-0/+181
ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector.