Sha256: dfcfc063eba79fe37022230525ae062a8535e33d13dac7c776ed58e9e9af1ef6

Contents?: true

Size: 221 Bytes

Versions: 41

Compression:

Stored size: 221 Bytes

Contents

Kaminari::Helpers::Tag.class_eval do
  def page_url_for(page)
    route_set = @options[:route_set]
    (route_set || @template).url_for @params.merge(@param_name => (page <= 1 ? nil : page), :only_path => true)
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
express_admin-1.6.9 config/initializers/kaminari.rb