Sha256: ac6681cc3ac56af43a42a6e3cb273c34f55d90617055d50f55d15f6ff7951ae6

Contents?: true

Size: 263 Bytes

Versions: 59

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Proposals
    # Custom helpers, scoped to the proposals engine.
    module ControlVersionHelper
      def item_name
        versioned_resource.model_name.singular_route_key.to_sym
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
decidim-proposals-0.26.8 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.4 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.3 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.7 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.5 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.2 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.1 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.4 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.0 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.3 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.0.rc2 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.0.rc1 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.2 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.1 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.0 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.0.rc2 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.0.rc1 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.25.2 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.25.1 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.25.0 app/helpers/decidim/proposals/control_version_helper.rb