diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-04-06 12:40:02 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-04-06 12:40:02 +0200 |
commit | ca4417d333292b5d345cc64d3e4bbff1b491e8e3 (patch) | |
tree | f8a26e4abe62be6dea09924864be6b939c3bf2f8 /actionpack/CHANGELOG.md | |
parent | 51eacc71c7d2a6d0fc23556b32e12a21ee49b948 (diff) | |
parent | 0de4a23d1cfa6ef44a27ac8aca5055487282460e (diff) | |
download | rails-ca4417d333292b5d345cc64d3e4bbff1b491e8e3.tar.gz rails-ca4417d333292b5d345cc64d3e4bbff1b491e8e3.tar.bz2 rails-ca4417d333292b5d345cc64d3e4bbff1b491e8e3.zip |
Merge pull request #19377 from sb8244/issue-19036
when a template is missing for the default render, do head no_content instead
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 0ae96441ce..4ab0857a66 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,11 @@ +* For actions with no corresponding templates, render `head :no_content` + instead of raising an error. This allows for slimmer API controller + methods that simply work, without needing further instructions. + + See #19036. + + *Stephen Bussey* + * Provide friendlier access to request variants. request.variant = :phone |