Sha256: 0038bf76f48d4492bed6d6521f8c40967c29dac290691e9a20257f81762486ab
Contents?: true
Size: 647 Bytes
Versions: 32
Compression:
Stored size: 647 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences module ContentBlocks class HighlightedConferencesCell < Decidim::ViewModel delegate :current_user, to: :controller def show render if highlighted_conferences.any? end def highlighted_conferences OrganizationPrioritizedConferences.new(current_organization, current_user) end def i18n_scope "decidim.conferences.pages.home.highlighted_conferences" end def decidim_conferences Decidim::Conferences::Engine.routes.url_helpers end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems