Module: Decidim::ActionDelegator::NeedsConsultationStyles
- Extended by:
- ActiveSupport::Concern
- Included in:
- Consultations::ConsultationsControllerOverride, Consultations::QuestionsControllerOverride
- Defined in:
- app/controllers/concerns/decidim/action_delegator/needs_consultation_styles.rb
Instance Method Summary collapse
Instance Method Details
#snippets ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'app/controllers/concerns/decidim/action_delegator/needs_consultation_styles.rb', line 12 def snippets @snippets ||= Decidim::Snippets.new unless @snippets.any?(:action_delegator_consultation_questions) @snippets.add(:action_delegator_consultation_questions, ActionController::Base.helpers.stylesheet_pack_tag("decidim_action_delegator_questions")) @snippets.add(:head, @snippets.for(:action_delegator_consultation_questions)) end @snippets end |