Sha256: efb29c6bc481641e249f6511e44517d98c120f7f788714e101ae390118fc952d
Contents?: true
Size: 390 Bytes
Versions: 12
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true # Add support for engine routes to kaminari Rails.application.config.to_prepare do Kaminari::Helpers::Tag.class_eval do def page_url_for(page) params = params_for(page) params[:only_path] = true if @options[:route_set] @options[:route_set].url_for params else @template.url_for params end end end end
Version data entries
12 entries across 12 versions & 1 rubygems