fix raw param in presenters

This commit is contained in:
r888888888
2013-06-24 13:55:00 -07:00
parent cc60f794d8
commit d7d474d013
3 changed files with 5 additions and 5 deletions

View File

@@ -4,6 +4,10 @@ module PostSets
false false
end end
def raw
false
end
def wiki_page def wiki_page
nil nil
end end

View File

@@ -8,10 +8,6 @@ module PostSets
@favorites = ::Favorite.for_user(user.id).paginate(page, :limit => limit).order("favorites.id desc") @favorites = ::Favorite.for_user(user.id).paginate(page, :limit => limit).order("favorites.id desc")
end end
def raw
false
end
def limit def limit
params[:limit] || CurrentUser.user.per_page params[:limit] || CurrentUser.user.per_page
end end

View File

@@ -4,7 +4,7 @@ module Danbooru
class Configuration class Configuration
# The version of this Danbooru. # The version of this Danbooru.
def version def version
"2.20.0" "2.20.1"
end end
# The name of this Danbooru. # The name of this Danbooru.