* Fix for Pixiv changes

* Fix for artist/wiki pages for -names
This commit is contained in:
albert
2012-02-08 12:44:17 -05:00
parent 1eae813f6d
commit c14f020ce2
10 changed files with 31 additions and 51 deletions

View File

@@ -9,6 +9,8 @@ module PostSets
def posts
::Post.tag_match(@artist.name)
rescue ::Post::SearchError
::Post.where("false")
end
def presenter

View File

@@ -29,6 +29,8 @@ module PostSets
end
@posts ||= ::Post.tag_match(tag_string).paginate(page)
rescue ::Post::SearchError
@posts = ::Post.where("false")
end
def has_artist?