Skip to content

Commit

Permalink
Update generators.md (#1622)
Browse files Browse the repository at this point in the history
* Update generators.md

Fix typo in stimulus controller docs.

* Update Changelog
  • Loading branch information
btrewern committed Jan 9, 2023
1 parent 66b443a commit ad3606e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit ad3606e

Please sign in to comment.