Controller actions responds with 204 No Content by default in Rails 5
Controller actions will now render 204 No Content when we don’t tell Rails how to generate response.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Controller actions will now render 204 No Content when we don’t tell Rails how to generate response.
Comments
The link doesn’t work for me…
@IAIN: True, correct link is: http://blog.bigbinary.com/2016/07/03/controller-actions-default-no-content-in-rails-5-if-template-is-missing.html
Link fixed.
Post a comment