fix raw param in presenters
This commit is contained in:
@@ -4,6 +4,10 @@ module PostSets
|
|||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def raw
|
||||||
|
false
|
||||||
|
end
|
||||||
|
|
||||||
def wiki_page
|
def wiki_page
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user