Sha256: 74d7b12e9eba2f77c884dd0763a7d13f160fd8065f359be255e9046eafcd3c68
Contents?: true
Size: 323 Bytes
Versions: 25
Compression:
Stored size: 323 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies # This query class filters assemblies given a current_user. class VisibleAssemblies < Decidim::Query def initialize(user) @user = user end def query Decidim::Assembly.visible_for(@user) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems