Sha256: 11dc1feed6b1f4a1fc1f242e869734e0c8ae63c0d3b18e8ff3806cb3a8c1a213

Contents?: true

Size: 271 Bytes

Versions: 6

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-enhanced_textwork-1.0.5 app/helpers/decidim/enhanced_textwork/control_version_helper.rb
decidim-enhanced_textwork-1.0.4 app/helpers/decidim/enhanced_textwork/control_version_helper.rb
decidim-enhanced_textwork-1.0.3 app/helpers/decidim/enhanced_textwork/control_version_helper.rb
decidim-enhanced_textwork-1.0.2 app/helpers/decidim/enhanced_textwork/control_version_helper.rb
decidim-enhanced_textwork-1.0.1 app/helpers/decidim/enhanced_textwork/control_version_helper.rb
decidim-enhanced_textwork-1.0.0 app/helpers/decidim/enhanced_textwork/control_version_helper.rb