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.29.1 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.28.4 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.9 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.29.0 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.28.3 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.8 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.29.0.rc4 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.29.0.rc3 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.29.0.rc2 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.29.0.rc1 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.28.2 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.7 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.28.1 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.6 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.10 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.26.9 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.28.0 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.27.5 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.28.0.rc5 app/helpers/decidim/proposals/control_version_helper.rb
decidim-proposals-0.28.0.rc4 app/helpers/decidim/proposals/control_version_helper.rb