lib/view_component/preview.rb in actionview-component-1.14.1 vs lib/view_component/preview.rb in actionview-component-1.15.0
- old
+ new
@@ -2,9 +2,10 @@
require "active_support/descendants_tracker"
module ViewComponent # :nodoc:
class Preview
+ include ActionView::Helpers::TagHelper
extend ActiveSupport::DescendantsTracker
def render(component, **args, &block)
{ component: component, args: args, block: block }
end