revert hidden post redirect
This commit is contained in:
@@ -16,12 +16,6 @@ class PostsController < ApplicationController
|
||||
|
||||
def show
|
||||
@post = Post.find(params[:id])
|
||||
|
||||
if !Danbooru.config.can_user_see_post?(CurrentUser.user, @post)
|
||||
redirect_to(:back, :notice => "Post #{@post.id} is not available")
|
||||
return
|
||||
end
|
||||
|
||||
@post_flag = PostFlag.new(:post_id => @post.id)
|
||||
@post_appeal = PostAppeal.new(:post_id => @post.id)
|
||||
respond_with(@post)
|
||||
|
||||
Reference in New Issue
Block a user