accounts_helper.rb 317 B

123456789101112
  1. # frozen_string_literal: true
  2. module AccountsHelper
  3. def pagination_options
  4. {
  5. previous_label: safe_join([fa_icon('chevron-left'), t('pagination.prev')], ' '),
  6. next_label: safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '),
  7. inner_window: 1,
  8. outer_window: 0,
  9. }
  10. end
  11. end