aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/rendering.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵José Valim2010-09-291-1/+1
| | | | everyone calls super as expected.
* Avoid more uninitialized variable warnings.Emilio Tagua2010-09-281-1/+1
|
* Add mounted_helpers to routesPiotr Sarnacki2010-09-031-0/+1
| | | | | | | | | | | | | | | | mounted_helpers are a bit similar to url_helpers. They're automatically included in controllers for Rails.application and each of mounted Engines. Mounted helper allows to call url_for and named helpers for given application. Given Blog::Engine mounted as blog_engine, there are 2 helpers defined: app and blog_engine. You can call routes for app and engine using those helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post)
* Unify routes naming by renaming router to routesPiotr Sarnacki2010-07-021-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Changes made while working on upgrading cells to Rails 3wycats2010-06-021-0/+1
|
* Fix ActionMailer test broken in 99d54599215c2a8cea7e57f609e8e578043d71b2José Valim2010-04-121-2/+1
|
* render_to_string should have the identical signature as renderwycats2010-04-041-9/+8
|
* Well that was a bustwycats2010-03-181-1/+5
|
* We seem to have removed the URL helpers from ActionView subclasses...wycats2010-03-181-0/+6
|
* Each controller class has it's own view context subclass. This removes the ↵Carlhuda2010-03-181-4/+24
| | | | need for ActionView::Base.for_controller
* Return a valid Rack response from bare ActionController::MetalCarlhuda2010-03-181-13/+1
|
* All tests pass without memoizing view_contextCarlhuda2010-03-181-3/+13
|
* Ensure json is loaded before using responders.José Valim2010-03-171-1/+0
|
* Remove unneeded AV::Base and AV::Template monkey-patchesCarlhuda2010-03-171-0/+1
|
* Finish cleaning up rendering stack from views and move assigns evaluation to ↵José Valim2010-03-121-8/+8
| | | | controller (so plugins and/or controllers can overwrite just one method).
* Optimize and clean up how details key get expired.José Valim2010-03-101-0/+28
|
* Clean up the API required from ActionView::Template.José Valim2010-03-091-1/+1
|
* Clean LookupContext API.José Valim2010-03-081-1/+1
|
* Move details to lookup_context and make resolvers use the cache key.José Valim2010-03-081-10/+0
|
* Move ViewPaths module to its own file.José Valim2010-03-081-70/+1
|
* Speed up performance in resolvers by adding fallbacks just when required.José Valim2010-03-081-10/+4
|
* Rename Template::Lookup to LookupContext.José Valim2010-03-081-24/+11
|
* Finally moved the find template logic to the views.José Valim2010-03-081-134/+98
|
* More refactoring. Split _normalize_args and _normalize_options concerns.José Valim2010-03-081-4/+8
|
* Move layout lookup to views.José Valim2010-03-081-3/+5
|
* Added template lookup responsible to hold all information used in template ↵José Valim2010-03-071-20/+22
| | | | lookup.
* Merge _details_defaults and details_for_renderCarlhuda2010-03-011-2/+2
|
* Fix controller_path returnsing an empty string in Ruby 1.8.7 [#4036 ↵José Valim2010-02-261-3/+1
| | | | status:resolved]
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-241-3/+7
|
* Update AP to start locking down a public API. This work is parallel to some ↵Yehuda Katz2010-02-161-1/+1
| | | | docs I'm working on.
* Convert to class_attributeJeremy Kemper2010-02-011-7/+11
|
* Added :format and :locale options to render.José Valim2010-01-291-1/+10
|
* Fix rendering of layouts.José Valim2010-01-291-1/+2
|
* Move double render check out of AbstractController.José Valim and Mikel Lindsaar2010-01-231-4/+0
|
* Ensure strings given to render with slash are rendered relative to the ↵José Valim2010-01-221-12/+25
| | | | configured _prefix.
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-201-1/+1
|
* Bring normalize behavior to AbstractController::RenderingJosé Valim2010-01-201-3/+19
|
* Fix DoubleRenderError error messagePratik Naik2010-01-191-1/+1
|
* @_formats initialization should be AbstractController::Base.José Valim2010-01-041-6/+0
|
* Expose a _render_partial hook as thhe _render_template one and make use of it.José Valim2009-12-311-5/+9
|
* Dont introspect inline templates for the logger and cleanup a few styling issuesDavid Heinemeier Hansson2009-12-211-5/+4
|
* AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵Yehuda Katz2009-12-201-1/+0
| | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency)
* Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-201-0/+203