aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorStephen Bussey <steve.bussey@salesloft.com>2015-03-17 10:36:21 -0400
committerStephen Bussey <steve.bussey@salesloft.com>2015-04-05 15:46:50 -0400
commit0de4a23d1cfa6ef44a27ac8aca5055487282460e (patch)
treeed20e13bfae6f75facebf8ee24f7e7c5da25fb53 /actionpack/CHANGELOG.md
parent9040699aed64a725cc66461d63f794abc2f13afc (diff)
downloadrails-0de4a23d1cfa6ef44a27ac8aca5055487282460e.tar.gz
rails-0de4a23d1cfa6ef44a27ac8aca5055487282460e.tar.bz2
rails-0de4a23d1cfa6ef44a27ac8aca5055487282460e.zip
head no_content when there is no template or action performed
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md8
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