Module: Decidim::NeedsSnippets

Extended by:
ActiveSupport::Concern
Included in:
Admin::ApplicationController, ApplicationController
Defined in:
decidim-core/app/controllers/concerns/decidim/needs_snippets.rb

Overview

This module provides capability for storing conditional snippets during the page view that need to be displayed in different part of the view than where they are registered at.

Instance Method Summary collapse

Instance Method Details

#snippetsObject



16
17
18
# File 'decidim-core/app/controllers/concerns/decidim/needs_snippets.rb', line 16

def snippets
  @snippets ||= Decidim::Snippets.new
end