<%= link_to '削除', comment_path(@comment), confirm: '削除してもよろしいですか?', method: :delete %>
こんな感じ.簡単
Go to list of users who liked
More than 5 years have passed since last update.
<%= link_to '削除', comment_path(@comment), confirm: '削除してもよろしいですか?', method: :delete %>
こんな感じ.簡単
Register as a new user and use Qiita more conveniently
Go to list of users who liked