このコミットが含まれているのは:
2026-06-06 20:29:34 +09:00
コミット b1362d327c
7個のファイルの変更138行の追加18行の削除
+1
ファイルの表示
@@ -45,6 +45,7 @@ class TheatreCommentsController < ApplicationController
comment = TheatreComment.find_by(theatre_id:, no:)
return head :not_found unless comment
return head :forbidden unless comment.user == current_user
comment.discard!