about summary refs log tree commit diff
path: root/app/helpers/accounts_helper.rb
blob: af23a78d1712d9e0e7a9193f60599d047385c400 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module AccountsHelper
  def pagination_options
    {
      previous_label: safe_join([fa_icon('chevron-left'), t('pagination.prev')], ' '),
      next_label: safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '),
      inner_window: 1,
      outer_window: 0,
    }
  end
end