snails 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snails/app.rb +1 -1
- data/snails.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eb44cbdba72ae9422558aa1212e87ca73713b98e484b15f934e878aafadf0ff
|
4
|
+
data.tar.gz: 871bfe91088526627e1a49dc8c73f4741784013d56f4e4ccecd505d65de52322
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74580c4e0b6066d9ce86fb744adcd6275bee6810d1b046e4b2419c037d818ca528793441f8ce6368162072e379a46f826ac3d9c223e3557e0b854cb77fe7f2b0
|
7
|
+
data.tar.gz: 8a4f723fcbfd245451171633b604f39a9825c855ef1a4c7cab2dcf0264b79108884191d352d010a173645a8202add6548118c43e175214581a938e5edc6e9322
|
data/lib/snails/app.rb
CHANGED
@@ -364,7 +364,7 @@ module Snails
|
|
364
364
|
i == 0 ? "" : "/page/#{i}"
|
365
365
|
end
|
366
366
|
|
367
|
-
def show_pager(array, path, per_page =
|
367
|
+
def show_pager(array, path, per_page = 50)
|
368
368
|
# remove page from path
|
369
369
|
path = (env['SCRIPT_NAME'] + path.gsub(/[?|&|\/]page[=|\/]\d+/,''))
|
370
370
|
|
data/snails.gemspec
CHANGED