1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

head :no_content is implicitly called

This commit is contained in:
Santiago Pastorino 2015-06-08 14:07:53 -03:00
parent 1fd42f3338
commit 51d5d6252e

View file

@ -41,8 +41,6 @@ class <%= controller_class_name %>Controller < ApplicationController
# DELETE <%= route_url %>/1
def destroy
@<%= orm_instance.destroy %>
head :no_content
end
private