Post unbans: fix typo
This commit is contained in:
@@ -44,7 +44,7 @@ module Moderator
|
|||||||
def unban
|
def unban
|
||||||
@post = authorize ::Post.find(params[:id])
|
@post = authorize ::Post.find(params[:id])
|
||||||
@post.unban!
|
@post.unban!
|
||||||
flash[:notice] = "Post was banned"
|
flash[:notice] = "Post was unbanned"
|
||||||
|
|
||||||
respond_with(@post)
|
respond_with(@post)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user