aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
Commit message (Collapse)AuthorAgeFilesLines
* Introduce view renderer.José Valim2011-05-011-2/+11
|
* Make ActionController::Base.modules_for_helpers and ↵Piotr Sarnacki2011-04-251-11/+11
| | | | ActionController::Base.all_helpers_from_path public methods
* Do not inherit from Rack::Response, remove a shit-ton of unused code.José Valim2011-04-191-7/+1
|
* Slightly reorganize rendering stack.José Valim2011-04-181-6/+25
|
* render :once, YAGNI.José Valim2011-04-151-1/+1
|
* Fixed a comment typoEric Hayes2011-04-141-1/+1
|
* Fix missing requires in Action MailerPrem Sichanugrist2011-04-131-0/+1
| | | | | | This made the isolated test failed on CI server. Signed-off-by: Xavier Noria <fxn@hashref.com>
* Merge branch 'master' into sprocketsJoshua Peek2011-04-122-1/+3
|\
| * Added missing </tt>Oge Nnadi2011-04-111-1/+1
| |
| * Implicit actions named not_implemented can be renderedSantiago Pastorino2011-04-021-0/+2
| |
* | Merge branch 'master' into sprocketsJoshua Peek2011-03-302-16/+19
|\| | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb
| * Make action_method? public and change implicit rendering to override it instead.José Valim2011-03-301-15/+18
| |
| * Pass the proper method_name instead of hardcoding to action_name.José Valim2011-03-291-1/+1
| | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/implicit_render.rb
* | Merge branch 'master' into sprocketsJoshua Peek2011-03-301-1/+1
|\|
| * Fix filter :only and :except with implicit actionsAndrew White2011-03-231-1/+1
| | | | | | | | | | | | | | The method_name argument is "default_render" for implicit actions so use the action_name attribute to determine which callbacks to run. [#5673 state:resolved]
* | Copy use_sprockets configJoshua Peek2011-03-291-2/+2
|/
* Change ActionView::ViewPathSet to ActionView::PathSetManuel Meurer2011-03-131-4/+4
|
* render_to_string must ensure that response_bodyNeeraj Singh2011-01-251-1/+1
| | | | | | | | is nil [ #5875 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Solve SystemStackError when changing locale inside ActionMailer [#5329 ↵José Valim2011-01-191-4/+5
| | | | state:resolved]
* process_action accepts multiple args, even with Callbacks.Nick Sutterer2010-12-291-1/+1
|
* Speed up template inheritance and remove template inheritance optionwycats2010-12-261-16/+17
|
* #948 make template inheritance optionalartemave2010-12-261-4/+12
|
* #948 template_inheritanceartemave2010-12-262-6/+14
|
* Rewording existing commentNeeraj Singh2010-11-301-4/+3
|
* Rewording existing commentNeeraj Singh2010-11-291-6/+3
|
* Avoid range object creationSantiago Pastorino2010-11-201-1/+1
|
* Fix indentationSantiago Pastorino2010-11-191-1/+1
|
* Don't merge just directly add to the action to the :partial keySantiago Pastorino2010-11-191-1/+1
|
* Useless assignationSantiago Pastorino2010-11-191-1/+1
|
* Remove inline comment.José Valim2010-11-111-17/+17
|
* Make after_filter halt when before_filter renders or redirects [#5648 ↵Marcelo Giorgi2010-11-111-0/+2
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow generated url helpers to be overriden [#5243 state:resolved]Andrew White2010-10-261-5/+5
|
* Add support to render :once.José Valim2010-10-101-1/+1
| | | | This will be used internally by sprockets to ensure requires are executed just once.
* Fix a few bugs when trying to use Head standalonewycats2010-10-101-0/+1
|
* render :template => 'foo/bar.json' now works as it should.José Valim2010-10-071-1/+0
|
* Make collection rendering faster.José Valim2010-10-071-1/+1
|
* oops, missed a uniqAaron Patterson2010-09-291-1/+1
|
* dry up action_methodsAaron Patterson2010-09-291-4/+4
|
* no need to call e.classAaron Patterson2010-09-291-1/+1
|
* Fix a small typo (ht: masterkain)José Valim2010-09-291-1/+1
|
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵José Valim2010-09-293-5/+2
| | | | everyone calls super as expected.
* Define @_layout if it is not defined.Emilio Tagua2010-09-281-0/+1
|
* Avoid more uninitialized variable warnings.Emilio Tagua2010-09-281-1/+1
|
* Refactor ActionMailer to not use hide_actionsPiotr Sarnacki2010-09-031-0/+28
|
* Move ActionController::Railties::RoutesHelpers and ↵Piotr Sarnacki2010-09-031-0/+18
| | | | ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers
* 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)
* Ensure that inherited helper_methods are available after calling ↵Jesse Storimer2010-08-281-1/+11
| | | | | | clear_helpers [#5348 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add clear_helpers as a way to clean up all helpers added to this controller, ↵José Valim2010-08-261-0/+7
| | | | maintaing just the helper with the same name as the controller.
* fixed capitalizationJoost Baaij2010-08-251-8/+8
|
* change rdoc to conform to api guidelinesJoost Baaij2010-08-255-57/+60
|