hometown/app/helpers/accounts_helper.rb

11 lines
245 B
Ruby

module AccountsHelper
def pagination_options
{
previous_label: "#{fa_icon('chevron-left')} Prev".html_safe,
next_label: "Next #{fa_icon('chevron-right')}".html_safe,
inner_window: 1,
outer_window: 0
}
end
end