diff --git a/lib/view_component/template.rb b/lib/view_component/template.rb index 34f164bf4..bb04a8358 100644 --- a/lib/view_component/template.rb +++ b/lib/view_component/template.rb @@ -1,3 +1,5 @@ +require "ostruct" + module ViewComponent class Template attr_reader :variant, :this_format, :type