Files
nairobi/app/components/admin/widget/cards/row_component.rb
Javi Martín 9cc0ad0ba9 Allow cards table actions to receive options
Just like we sometimes override options in the generic table actions
component, we're going to do the same thing with the cards table
actions.
2021-02-26 16:17:18 +01:00

9 lines
179 B
Ruby

class Admin::Widget::Cards::RowComponent < ApplicationComponent
attr_reader :card, :options
def initialize(card, **options)
@card = card
@options = options
end
end