Module: Decidim::Proposals::ControlVersionHelper

Included in:
ApplicationHelper
Defined in:
app/helpers/decidim/proposals/control_version_helper.rb

Overview

Custom helpers, scoped to the proposals engine.

Instance Method Summary collapse

Instance Method Details

#item_nameObject



7
8
9
# File 'app/helpers/decidim/proposals/control_version_helper.rb', line 7

def item_name
  versioned_resource.model_name.singular_route_key.to_sym
end