This commit is contained in:
albert
2011-07-03 19:12:31 -04:00
parent bd3af50e10
commit 085995126c
16 changed files with 176 additions and 78 deletions

View File

@@ -63,6 +63,8 @@ module PaginationHelper
end
def numbered_paginator_item(page, current_page)
return "" if page.to_i > Danbooru.config.max_numbered_pages
html = "<li>"
if page == "..."
html << "..."