Sha256: 0713649d83fc92d23d6c8f0965a63a6dda4678fe96a221d2ca9b47cdd2dad90f
Contents?: true
Size: 354 Bytes
Versions: 6
Compression:
Stored size: 354 Bytes
Contents
module Kashiwamochi module ActionController extend ActiveSupport::Concern def build_search_query! q = params[Kashiwamochi.config.search_key] || {} instance_variable_set("@#{Kashiwamochi.config.search_key}", Kashiwamochi.build(q)) end alias_method :build_query!, :build_search_query! unless defined?(build_query!) end end
Version data entries
6 entries across 6 versions & 1 rubygems