app/components/olivander/components/table_portlet_component.rb in five-two-nw-olivander-0.1.2.36 vs app/components/olivander/components/table_portlet_component.rb in five-two-nw-olivander-0.1.2.37
- old
+ new
@@ -19,9 +19,10 @@
end
class TableComponent < ViewComponent::Base
with_collection_parameter :item
delegate :can?, :cannot?, to: :helpers
+ delegate :user_image_path, to: :helpers
def initialize(item:, item_iteration:, builder:, headers:)
super
@item = item
@item_iteration = item_iteration