0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

出品詳細削除機能実装

Posted at
<%= link_to 'リンクに表示する文字', 'リンク先のURL', method: :'HTTPメソッド名' %>
<%= link_to '削除', "/tweets/#{tweet.id}", method: :delete %>

一覧

メソッド 役割
GET データを取得する
POST データを送信し、保存する
DELETE データを削除する
PATCH データを置き換える
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?