app/helpers/components/card_helper.rb in shadcn-ui-0.0.1 vs app/helpers/components/card_helper.rb in shadcn-ui-0.0.2

- old
+ new

@@ -1,5 +1,5 @@ module Components::CardHelper def render_card(footer: nil, title: nil, subtitle: nil, body: nil, **options, &block) - render "components/ui/card", title: title, subtitle: subtitle, footer: footer, body: (block ? capture(&block) : body), block:, **options + render "components/ui/card", title: title, subtitle: subtitle, footer: footer, body: (block ? capture(&block) : body), block:, options: options end end