1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
Commit graph

24 commits

Author SHA1 Message Date
Akira Matsuda
1ee0a1123f Explicitly require AS/lazy_load_hooks where using it 2016-11-30 11:17:43 +09:00
Akira Matsuda
997d9a6349 2016-11-28 07:31:10 +09:00
Akira Matsuda
d0fb081741 Better LogSubscriber monkey-patch using Thread.current 2016-11-28 07:31:10 +09:00
Akira Matsuda
fe4b0a1411 Move ActionView independent helpers code to a separate file 2016-11-24 18:38:49 +09:00
Akira Matsuda
315e06bcc4 Prefer simpler code 2016-11-23 13:08:19 +09:00
Akira Matsuda
8763cad3d7 Less object creation 2016-11-23 12:21:46 +09:00
Akira Matsuda
fd542d6565 Let it be explicit that page_entries_info currently uses no other option than entry_name 2016-11-23 12:21:46 +09:00
Akira Matsuda
da68ec985f 2016-11-23 12:21:46 +09:00
Akira Matsuda
63cf11cea4 Reduce method calls 2016-11-23 12:21:46 +09:00
Akira Matsuda
b8c882f3b2 We use the paginator_class value only in this method 2016-11-23 12:21:46 +09:00
Akira Matsuda
721654ca75 #️⃣ 🚀 🔞 2016-11-22 22:16:57 +09:00
Akira Matsuda
23d0bf2d86 Don't have to carry paginator_class option over the paginator instance 2016-11-19 16:33:45 +09:00
Howard Wilson
6080b7a32c Add support for specifying a custom Paginator 2016-11-19 16:31:31 +09:00
Akira Matsuda
97e887447d 2016-11-15 15:33:45 +09:00
neilang
bb3631aa83 Refactored the path calculators in action_view_extension to expose the path_to_next_page and path_to_prev_page 2016-11-15 10:43:18 +09:00
Akira Matsuda
05a989f824 Revert ""
This reverts commit 2e369a9ed6.

Reason: there're some cases that we want to pass in `total_pages` option
in order to avoid calling heavy `tocal_count` method inside `total_pages` method
2016-11-05 13:54:33 +09:00
Akira Matsuda
ad719a0fc6 Prefer block_given? + yield over calling &block 2016-10-12 10:11:49 +09:00
Akira Matsuda
086bedcab3 ❄️ 2016-10-12 10:03:37 +09:00
Linus Pettersson
7f6e9a877d Use I18n to pluralize entries 2016-10-11 16:07:59 +02:00
Akira Matsuda
0ccbe2bc9d There can be apps that use Action View off Rails 2016-10-04 10:39:06 +09:00
Akira Matsuda
4964f6024b 🚮 2016-10-04 04:22:40 +09:00
Akira Matsuda
5bfafb08b7 "NameError: uninitialized constant Kaminari::ActionView::LogSubscriber" 2016-10-04 04:22:15 +09:00
Akira Matsuda
70071d2a81 Move Action View extension code to kaminari-actionview gem 2016-10-04 04:22:05 +09:00
Akira Matsuda
e8846b9196 bundle gem kaminari-actionview 2016-10-04 04:20:56 +09:00