Sha256: 7030166a849ef47baf08598dd17a636136a0d27b23eceab90ccf481bdf04d646
Contents?: true
Size: 327 Bytes
Versions: 33
Compression:
Stored size: 327 Bytes
Contents
module Spree module FilterParam extend ActiveSupport::Concern included do before_save :set_filter_param end protected def set_filter_param return if param_candidate.blank? self.filter_param = param_candidate.parameterize end def param_candidate name end end end
Version data entries
33 entries across 33 versions & 1 rubygems