Sha256: 47d7bdd6287de79641b15fdae16dd1569c941121afac2ccbadee873dfa3eb502
Contents?: true
Size: 363 Bytes
Versions: 25
Compression:
Stored size: 363 Bytes
Contents
module Kaminari module Helpers class Tag def page_url_for(page) arguments = @params.merge(@param_name => (page <= 1 ? nil : page), :only_path => true).symbolize_keys begin Fuel::Engine.routes.url_helpers.url_for arguments rescue @template.main_app.url_for arguments end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems