Skip to content

Commit 405f1e5

Browse files
author
Richard Luck
committed
Patching as per PR on main project
[See this](bootstrap-ruby#51)
1 parent 50eca72 commit 405f1e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/bootstrap_pagination/bootstrap_renderer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module BootstrapRenderer
88
def to_html
99
list_items = pagination.map do |item|
1010
case item
11-
when Integer
11+
when 0.class
1212
page_number(item)
1313
else
1414
send(item)

lib/bootstrap_pagination/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module BootstrapPagination
2-
VERSION = "1.0.2"
2+
VERSION = "1.0.3"
33
end

0 commit comments

Comments
 (0)