Module: Decidim::NeedsSnippets

Extended by:
ActiveSupport::Concern
Included in:
ApplicationController
Defined in:
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 'app/controllers/concerns/decidim/needs_snippets.rb', line 16

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