Created
October 11, 2016 12:55
-
-
Save NetguruGist/09fc093f75af409f8b8f62caf36efc63 to your computer and use it in GitHub Desktop.
performance_post_7.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PostsController < ApplicationController | |
def destroy | |
@post = Post.find(params[:id]).destroy | |
... | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment