fix setting parent_id, add approval status notices on top of post/show
This commit is contained in:
@@ -6,6 +6,7 @@ module Moderator
|
||||
def create
|
||||
@post = ::Post.find(params[:post_id])
|
||||
@post.approve!
|
||||
rescue ::Post::ApprovalError
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user