diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c5974ebd4..3ad776bb3 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -10,6 +10,10 @@ nav_order: 5 ## main +* Fix typo in "Generate a Stimulus controller" documentation. + + *Ben Trewern* + * Modify the `render_in_view_context` test helper to forward its args to the block. *Cameron Dutro* diff --git a/docs/guide/generators.md b/docs/guide/generators.md index 819eea4e5..f759f07b6 100644 --- a/docs/guide/generators.md +++ b/docs/guide/generators.md @@ -97,7 +97,7 @@ bin/rails generate component Example title --stimulus invoke test_unit create test/components/example_component_test.rb invoke stimulus - create test/components/example_component_controller.js + create app/components/example_component_controller.js invoke erb create app/components/example_component.html.erb ```