We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50eca72 commit 405f1e5Copy full SHA for 405f1e5
lib/bootstrap_pagination/bootstrap_renderer.rb
@@ -8,7 +8,7 @@ module BootstrapRenderer
8
def to_html
9
list_items = pagination.map do |item|
10
case item
11
- when Integer
+ when 0.class
12
page_number(item)
13
else
14
send(item)
lib/bootstrap_pagination/version.rb
@@ -1,3 +1,3 @@
1
module BootstrapPagination
2
- VERSION = "1.0.2"
+ VERSION = "1.0.3"
3
end
0 commit comments