about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/admin/comments_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/comments_controller.rb b/app/controllers/admin/comments_controller.rb index d3d948c..6b4bff3 100644 --- a/app/controllers/admin/comments_controller.rb +++ b/app/controllers/admin/comments_controller.rb
@@ -51,7 +51,7 @@ class Admin::CommentsController < Admin::AdminController
51 @comment.destroy! 51 @comment.destroy!
52 52
53 flash.notice = "Comment successfully marked as spam." 53 flash.notice = "Comment successfully marked as spam."
54 redirect_back pending_admin_comments_url 54 redirect_back fallback_location: pending_admin_comments_url
55 end 55 end
56 56
57 def destroy 57 def destroy