Sha256: cf1c6c7721bd39700267b53fc926346a210bb51a16c1836c19723230f2d18be4

Contents?: true

Size: 162 Bytes

Versions: 5

Compression:

Stored size: 162 Bytes

Contents

module MountainView
  module ComponentHelper
    def ui_component(slug, properties = {})
      render "#{slug}/#{slug}", properties: properties
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mountain_view-0.3.3 app/helpers/mountain_view/component_helper.rb
mountain_view-0.3.2 app/helpers/mountain_view/component_helper.rb
mountain_view-0.3.1 app/helpers/mountain_view/component_helper.rb
mountain_view-0.3.0 app/helpers/mountain_view/component_helper.rb
mountain_view-0.0.2 app/helpers/mountain_view/component_helper.rb