This commit is contained in:
Toks
2013-06-23 18:24:13 -04:00
parent 8f2d464c03
commit 9f3cbf7bf5
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
class PostPresenter < Presenter
def self.preview(post, options = {})
if post.is_deleted? && options[:tags] !~ /status:(?:all|any|deleted|banned)/
if post.is_deleted? && options[:tags] !~ /status:(?:all|any|deleted|banned)/ && !options[:raw]
return ""
end