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-2.0.0.b config/initializers/kaminari.rb
express_admin-2.0.0.a config/initializers/kaminari.rb
express_admin-1.8.1 config/initializers/kaminari.rb
express_admin-1.8.0 config/initializers/kaminari.rb
express_admin-1.7.32 config/initializers/kaminari.rb
express_admin-1.7.31 config/initializers/kaminari.rb
express_admin-1.7.30 config/initializers/kaminari.rb
express_admin-1.7.29 config/initializers/kaminari.rb
express_admin-1.7.28 config/initializers/kaminari.rb
express_admin-1.7.27 config/initializers/kaminari.rb
express_admin-1.7.26 config/initializers/kaminari.rb
express_admin-1.7.25 config/initializers/kaminari.rb
express_admin-1.7.24 config/initializers/kaminari.rb
express_admin-1.7.23 config/initializers/kaminari.rb
express_admin-1.7.22 config/initializers/kaminari.rb
express_admin-1.7.21 config/initializers/kaminari.rb
express_admin-1.7.20 config/initializers/kaminari.rb
express_admin-1.7.19 config/initializers/kaminari.rb
express_admin-1.7.18 config/initializers/kaminari.rb
express_admin-1.7.17 config/initializers/kaminari.rb