Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Override default_render's behavior with a block | Dave Copeland | 2015-06-20 | 1 | -2/+17 |
| | | | | | | | | | | In 0de4a23 the behavior when there is a missing template was changed to not raise an error, but instead head :no_content. This is a breaking change and some gems rely on this happening. To allow gems and other code to work around this, allow `default_render` to take a block which, if provided, will execute the contents of that block instead of doing the `head :no_content`. | ||||
* | Return 204 if render is not called in API controllers | Jorge Bejar | 2015-06-11 | 1 | -6/+3 |
| | |||||
* | Fix ActionPack tests after changes to missing template logger | eileencodes | 2015-04-06 | 1 | -1/+1 |
| | | | | | | | | | After merging #19377 ActionPack tests were missing a require for `ActiveSupport::LogSubscriber::TestHelper` and change didn't take into account that logger could be nil. Added the require and only log to info if logger exists. This wasn't caught earlier because these tests only run after a merge. | ||||
* | head no_content when there is no template or action performed | Stephen Bussey | 2015-04-05 | 1 | -1/+6 |
| | |||||
* | Use performed? instead of checking for response_body | Carlos Antonio da Silva | 2012-01-19 | 1 | -1/+1 |
| | | | | | | * Check for performed? instead of response_body * Change performed? to return a boolean * Refactor AC::Metal#response_body= to reuse variable | ||||
* | Revert to old semantics, use available_action? instead of action_method?. | José Valim | 2011-05-06 | 1 | -9/+7 |
| | |||||
* | pass respond_with options to controller render when using a template for api ↵ | Josh Kalderimis | 2011-03-31 | 1 | -2/+2 |
| | | | | | | navigation Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make action_method? public and change implicit rendering to override it instead. | José Valim | 2011-03-30 | 1 | -4/+2 |
| | |||||
* | Pass the proper method_name instead of hardcoding to action_name. | José Valim | 2011-03-29 | 1 | -8/+10 |
| | | | | | | Conflicts: actionpack/lib/action_controller/metal/implicit_render.rb | ||||
* | #948 template_inheritance | artemave | 2010-12-26 | 1 | -2/+2 |
| | |||||
* | Finally moved the find template logic to the views. | José Valim | 2010-03-08 | 1 | -1/+1 |
| | |||||
* | Move layout lookup to views. | José Valim | 2010-03-08 | 1 | -2/+1 |
| | |||||
* | Added template lookup responsible to hold all information used in template ↵ | José Valim | 2010-03-07 | 1 | -0/+1 |
| | | | | lookup. | ||||
* | Actually move ImplicitRender into it's own file | Carl Lerche | 2010-03-03 | 1 | -0/+21 |