Skip to content

Commit

Permalink
Add missing CR
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Dec 2, 2021
1 parent 21585cd commit a8a1741
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/generators/rails/templates/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def update
# DELETE <%= route_url %>/1 or <%= route_url %>/1.json
def destroy
@<%= orm_instance.destroy %>

respond_to do |format|
format.html { redirect_to <%= index_helper %>_url, notice: <%= %("#{human_name} was successfully destroyed.") %> }
format.json { head :no_content }
Expand Down

0 comments on commit a8a1741

Please sign in to comment.