2016-11-16 00:56:29 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-03-01 03:42:08 +09:00
|
|
|
module AccountsHelper
|
2016-03-19 22:02:30 +09:00
|
|
|
def pagination_options
|
2016-10-03 23:10:17 +09:00
|
|
|
{
|
2016-11-16 00:56:29 +09:00
|
|
|
previous_label: safe_join([fa_icon('chevron-left'), 'Prev'], ' '),
|
|
|
|
next_label: safe_join(['Next', fa_icon('chevron-right')], ' '),
|
2016-10-03 23:10:17 +09:00
|
|
|
inner_window: 1,
|
2016-11-16 00:56:29 +09:00
|
|
|
outer_window: 0,
|
2016-10-03 23:10:17 +09:00
|
|
|
}
|
2016-03-19 22:02:30 +09:00
|
|
|
end
|
2016-03-01 03:42:08 +09:00
|
|
|
end
|