Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename the RenderingController module to just plain Rendering | David Heinemeier Hansson | 2009-12-20 | 1 | -57/+0 |
| | |||||
* | Extracted localized_cache.rb from ActionController, added it to ↵ | José Valim | 2009-11-01 | 1 | -38/+3 |
| | | | | AbstractController and made ActionMailer use it. | ||||
* | Add some basic render_test to AbstractController. | José Valim | 2009-11-01 | 1 | -0/+9 |
| | |||||
* | Improve AbstractController layouts coverage. | José Valim | 2009-11-01 | 1 | -0/+4 |
| | |||||
* | Move all render and layout pieces required in ActionMailer from ↵ | José Valim | 2009-11-01 | 1 | -24/+0 |
| | | | | ActionController to AbstractController. | ||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 1 | -7/+15 |
| | | | | | | | | | | | | | | | | * request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml". | ||||
* | Caches and cache clearing seems to actually work, but the actual ↵ | Yehuda Katz | 2009-08-15 | 1 | -0/+32 |
| | | | | architecture is kind of messy. Next: CLEAN UP. | ||||
* | First pass at making partial rendering an Object. More cleanup to come. | Yehuda Katz | 2009-08-08 | 1 | -3/+0 |
| | |||||
* | Renamed presenter to renderer, added some documentation and defined its API. | José Valim | 2009-08-07 | 1 | -0/+66 |