Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Describe BasicRendering shortly | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+4 | |
| | | | | [ci skip] | |||||
* | Extend basic rendering, test it in railties | Łukasz Strzałkowski | 2013-08-25 | 1 | -3/+16 | |
| | ||||||
* | Fist stab on basic rendering | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+18 | |
| | ||||||
* | Add #rendered_format method to controllers | Łukasz Strzałkowski | 2013-08-25 | 1 | -4/+4 | |
| | ||||||
* | Revert "Move setting content_type to AV" | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+1 | |
| | | | | This reverts commit f4d602aff6cec80304b131ecfcc2676d0304f0cc. | |||||
* | Move setting content_type to AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+0 | |
| | ||||||
* | Hook up AV::Rendering on AV intialization | Łukasz Strzałkowski | 2013-08-25 | 1 | -2/+0 | |
| | ||||||
* | Move rendering from AP to AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+1 | |
| | ||||||
* | Return nil for Mime::NullType#ref | Andrew White | 2013-04-10 | 1 | -1/+1 | |
| | ||||||
* | Reverts rendering behavior when format is unknown | Grzegorz Świrski | 2013-04-10 | 1 | -1/+1 | |
| | | | | | | | | | If a request has unknown format (eg. /foo.bar), the renderer fallbacks to default format. This patch reverts Rails 3.2 behavior after c2267db commit. Fixes issue #9654. | |||||
* | format lookup for partials is derived from the format in which the template ↵ | Santiago Pastorino | 2012-02-22 | 1 | -1/+1 | |
| | | | | | | is being rendered Closes #5025 part 2 | |||||
* | Move render_to_body logic to return a spaced string to AC::Rendering | Carlos Antonio da Silva | 2012-01-17 | 1 | -0/+4 | |
| | | | | | | | | | | | This seems to be required only when calling render :partial with an empty collection from a controller. This call happens to return no content, letting the response body empty, which means to Rails that it should go on and try to find a template to render based on the current action name, thus failing hard. Although tests keep all green, we need to check a better way to fix this. | |||||
* | Refactor render nothing/text => nil logic, and move to right place | Carlos Antonio da Silva | 2012-01-17 | 1 | -0/+4 | |
| | | | | | Options :nothing and :text => nil should be handled by ActionController::Rendering instead. | |||||
* | Do not inherit from Rack::Response, remove a shit-ton of unused code. | José Valim | 2011-04-19 | 1 | -0/+11 | |
| | ||||||
* | Use Mime::Type references. | José Valim | 2011-02-08 | 1 | -1/+1 | |
| | ||||||
* | Fix indentation | Santiago Pastorino | 2010-11-20 | 1 | -24/+23 | |
| | ||||||
* | Rendering doesn't need RackDelegation | wycats | 2010-10-10 | 1 | -1/+0 | |
| | ||||||
* | Ensure controller filters are executed before stuff starts to happen. | José Valim | 2010-03-13 | 1 | -1/+1 | |
| | ||||||
* | Finish cleaning up rendering stack from views and move assigns evaluation to ↵ | José Valim | 2010-03-12 | 1 | -10/+11 | |
| | | | | controller (so plugins and/or controllers can overwrite just one method). | |||||
* | Finally moved the find template logic to the views. | José Valim | 2010-03-08 | 1 | -29/+12 | |
| | ||||||
* | More refactoring. Split _normalize_args and _normalize_options concerns. | José Valim | 2010-03-08 | 1 | -6/+13 | |
| | ||||||
* | Move layout lookup to views. | José Valim | 2010-03-08 | 1 | -1/+1 | |
| | ||||||
* | Added template lookup responsible to hold all information used in template ↵ | José Valim | 2010-03-07 | 1 | -1/+0 | |
| | | | | lookup. | |||||
* | Merge _details_defaults and details_for_render | Carlhuda | 2010-03-01 | 1 | -4/+0 | |
| | ||||||
* | Change AV formats so they can delegate to the controller. Now users (or ↵ | Carlhuda | 2010-03-01 | 1 | -1/+5 | |
| | | | | plugins) can override details_for_render in their controllers and add appropriate additional details. Now if only they could *do* something with those details... | |||||
* | Renamed LocalizedCache to DetailsCache. | José Valim | 2010-02-24 | 1 | -1/+1 | |
| | ||||||
* | Cleanup render callstack and make render(:json => {}, :status => 401) work ↵ | José Valim | 2010-02-24 | 1 | -23/+14 | |
| | | | | again. | |||||
* | Include missing modules. | José Valim | 2010-02-22 | 1 | -1/+1 | |
| | ||||||
* | Update Renderer | Yehuda Katz | 2010-02-18 | 1 | -5/+4 | |
| | ||||||
* | Ensure render :text => resource first tries to invoke :to_text on it | José Valim | 2010-02-16 | 1 | -0/+7 | |
| | ||||||
* | Fix rendering of layouts. | José Valim | 2010-01-29 | 1 | -5/+0 | |
| | ||||||
* | Move double render check out of AbstractController. | José Valim and Mikel Lindsaar | 2010-01-23 | 1 | -0/+4 | |
| | ||||||
* | Ensure strings given to render with slash are rendered relative to the ↵ | José Valim | 2010-01-22 | 1 | -12/+24 | |
| | | | | configured _prefix. | |||||
* | Bring normalize behavior to AbstractController::Rendering | José Valim | 2010-01-20 | 1 | -3/+4 | |
| | ||||||
* | Expose a _render_partial hook as thhe _render_template one and make use of it. | José Valim | 2009-12-31 | 1 | -6/+6 | |
| | ||||||
* | Rename the RenderingController module to just plain Rendering | David Heinemeier Hansson | 2009-12-20 | 1 | -0/+57 | |