Skip to content

Commit

Permalink
fix(gen): haml component template class_name interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Jan 19, 2024
1 parent 83c60ad commit fbec903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/install/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def initialize(<%%= initialize_signature %>)

if TEMPLATE_EXT == ".haml"
file "lib/generators/view_component/templates/component.html.haml.tt", <<~CODE
%div Add #{class_name} template here
%div Add <%%= class_name %> template here
CODE
end

Expand Down

0 comments on commit fbec903

Please sign in to comment.