Sha256: 5c9fda543d1939caf79882e25ccfddc258b62e2cd2cfd418583a30f68743253c
Contents?: true
Size: 830 Bytes
Versions: 7
Compression:
Stored size: 830 Bytes
Contents
# frozen_string_literal: true require "active_support/concern" module Decidim module Meetings # A controller concern to specify default filter parameters for the # controller resources within a meetings component. module ComponentFilterable extend ActiveSupport::Concern included do private def default_filter_params { search_text_cont: "", with_any_date: "upcoming", activity: "all", with_availability: "", with_any_scope: default_filter_scope_params, with_any_category: default_filter_category_params, with_any_state: nil, with_any_origin: default_filter_origin_params, with_any_type: default_filter_type_params } end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems