Post unbans: fix typo

This commit is contained in:
nonamethanks
2020-07-25 12:47:48 +02:00
parent 42f0112c38
commit cc5037d835

View File

@@ -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