Skip to content

Update URLs for hotwired.dev #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class ScriptNonceSubscriber implements EventSubscriberInterface
### stimulus_controller

This bundle also ships with a special `stimulus_controller()` Twig function
that can be used to render [Stimulus Controllers & Values](https://stimulus.hotwire.dev/reference/values).
that can be used to render [Stimulus Controllers & Values](https://stimulus.hotwired.dev/reference/values).
See [stimulus-bridge](https://github.com/symfony/stimulus-bridge) for more details.

For example:
Expand Down Expand Up @@ -243,7 +243,7 @@ associative array in the first argument:

### stimulus_action

The `stimulus_action()` Twig function can be used to render [Stimulus Actions](https://stimulus.hotwire.dev/reference/actions).
The `stimulus_action()` Twig function can be used to render [Stimulus Actions](https://stimulus.hotwired.dev/reference/actions).

For example:

Expand Down Expand Up @@ -275,7 +275,7 @@ associative array in the first argument:

### stimulus_target

The `stimulus_target()` Twig function can be used to render [Stimulus Targets](https://stimulus.hotwire.dev/reference/targets).
The `stimulus_target()` Twig function can be used to render [Stimulus Targets](https://stimulus.hotwired.dev/reference/targets).

For example:

Expand Down
4 changes: 2 additions & 2 deletions src/Twig/StimulusTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function renderStimulusTarget(Environment $env, $dataOrControllerName, st
/**
* Normalize a Stimulus controller name into its HTML equivalent (no special character and / becomes --).
*
* @see https://stimulus.hotwire.dev/reference/controllers
* @see https://stimulus.hotwired.dev/reference/controllers
*/
private function normalizeControllerName(string $str): string
{
Expand All @@ -184,7 +184,7 @@ private function normalizeControllerName(string $str): string
* Normalize a Stimulus Value API key into its HTML equivalent ("kebab case").
* Backport features from symfony/string.
*
* @see https://stimulus.hotwire.dev/reference/values
* @see https://stimulus.hotwired.dev/reference/values
*/
private function normalizeKeyName(string $str): string
{
Expand Down