Module: Decidim::Proposals::ControlVersionHelper

Included in:
ApplicationHelper
Defined in:
decidim-proposals/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 'decidim-proposals/app/helpers/decidim/proposals/control_version_helper.rb', line 7

def item_name
  versioned_resource.model_name.singular_route_key.to_sym
end