Sha256: 643f534e787e690849d359a2467069955caabed905c9574e23974c5135fc663a

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

module Madmin
  module ApplicationHelper
    include Pagy::Frontend
    include Rails.application.routes.url_helpers

    def clear_search_params
      resource.index_path(sort: params[:sort], direction: params[:direction])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
madmin-2.0.0 app/helpers/madmin/application_helper.rb