From cc5037d835c2839076eaafc88d6cf2656737392a Mon Sep 17 00:00:00 2001 From: nonamethanks Date: Sat, 25 Jul 2020 12:47:48 +0200 Subject: [PATCH] Post unbans: fix typo --- app/controllers/moderator/post/posts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/moderator/post/posts_controller.rb b/app/controllers/moderator/post/posts_controller.rb index 5fac8e5a2..74e360a3c 100644 --- a/app/controllers/moderator/post/posts_controller.rb +++ b/app/controllers/moderator/post/posts_controller.rb @@ -44,7 +44,7 @@ module Moderator def unban @post = authorize ::Post.find(params[:id]) @post.unban! - flash[:notice] = "Post was banned" + flash[:notice] = "Post was unbanned" respond_with(@post) end