Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def destroy
- @post = Post.find(params[:id])
- @post.destroy
- redirect_to posts_path, :notice => "Tu post se ha Borrado"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement