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:
parent
1fd42f3338
commit
51d5d6252e
1 changed files with 0 additions and 2 deletions
|
@ -41,8 +41,6 @@ class <%= controller_class_name %>Controller < ApplicationController
|
|||
# DELETE <%= route_url %>/1
|
||||
def destroy
|
||||
@<%= orm_instance.destroy %>
|
||||
|
||||
head :no_content
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue