chuckya/app/helpers/accounts_helper.rb

13 lines
289 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module AccountsHelper
def pagination_options
2016-10-03 23:10:17 +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,
outer_window: 0,
2016-10-03 23:10:17 +09:00
}
end
end