Skip to content

Commit

Permalink
Improve HTML stimulus template
Browse files Browse the repository at this point in the history
  • Loading branch information
Spone committed Jul 20, 2018
1 parent 78cc0a7 commit dff5671
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.<%= component_class_name %>{'data-controller': "<%= component_class_name %>"}
.<%= component_class_name %>{ data: { controller: '<%= component_class_name %>' } }
<%- if locale? -%>
= t ".component_name"
<%- else -%>
Expand Down

0 comments on commit dff5671

Please sign in to comment.