Skip to content

Commit 4daa2ec

Browse files
committed
fix: reorder tags in stimulus_layout.html.erb for consistency
- Move append_ tags before csrf_meta_tags to match application layout - Keep append_ helpers since layout uses React components - This should help with the flaky Stimulus tab test
1 parent ab31233 commit 4daa2ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/layouts/stimulus_layout.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>RailsReactTutorial</title>
77

8-
<%= csrf_meta_tags %>
9-
108
<%= append_stylesheet_pack_tag('stimulus-bundle') %>
119
<%= append_javascript_pack_tag('stimulus-bundle') %>
10+
11+
<%= csrf_meta_tags %>
1212
</head>
1313
<body class="min-h-screen flex flex-col bg-sky-50 text-gray-700">
1414
<%= react_component "NavigationBarApp" %>

0 commit comments

Comments
 (0)