Sha256: 1e0df1984acfefdc5639d1034cc15e2ebc2b828c97dad4a9c755c33f171878b8

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

require 'action_view'

module ::AmberComponent
  module Helpers
    # Contains methods for quickly rendering
    # components defined under the root namespace `Object`.
    module ComponentHelper
    end
  end
end

class ::ActionView::Base
  # Add those convenience methods to all
  # controllers and views.
  include ::AmberComponent::Helpers::ComponentHelper
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amber_component-0.0.3 lib/amber_component/helpers/component_helper.rb