Module: Decidim::Problems::ProblemCellsHelper

Includes:
ApplicationHelper, CardHelper, LayoutHelper, ApplicationHelper, ResourceReferenceHelper, TranslatableAttributes, TranslationsHelper, WithSdgs
Included in:
ProblemCell, ProblemGCell
Defined in:
app/helpers/decidim/problems/problem_cells_helper.rb

Overview

Custom helpers, scoped to the problems engine.

Instance Method Summary collapse

Instance Method Details

#current_componentObject



18
19
20
# File 'app/helpers/decidim/problems/problem_cells_helper.rb', line 18

def current_component
  model.component
end