Sha256: d5e0c1c6d3889ca61eb1b884e99b3b99c5761cc877b049cce1995a73667fe4b5

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

class TableHeaderComponent < ViewComponent::Base
  def initialize(label: nil, url: nil, obj: nil, fieldname: nil)
    super

    @label = label || ApplicationController.helpers.label_for(obj, fieldname)
    @url = url
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alveole-0.0.1 lib/alveole/components/table_header_component.rb