You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -120,9 +120,9 @@ except for some control flow response headers such as [HX-Redirect](https://htmx
120
120
##### Special view name prefixes
121
121
For these views, there is also a special view name handling if you prefer to return a view name instead of a view instance.
122
122
123
-
* Redirect URLs can be specified via `htmx:redirect:`, e.g. `htmx:redirect:/path`, which causes htmx to perform a redirect to the specified URL.
124
-
* Location redirect URLs can be specified via `htmx:location:`, e.g. `htmx:location:/path`, which causes htmx to perform a client-side redirect without reloading the entire page.
125
-
* A refresh of the current page can be specified using `htmx:refresh`.
123
+
* Redirect URLs can be specified via `redirect:htmx:`, e.g. `redirect:htmx:/path`, which causes htmx to perform a redirect to the specified URL.
124
+
* Location redirect URLs can be specified via `redirect:htmx:location:`, e.g. `redirect:htmx:location:/path`, which causes htmx to perform a client-side redirect without reloading the entire page.
125
+
* A refresh of the current page can be specified using `refresh:htmx`.
126
126
127
127
```java
128
128
@HxRequest
@@ -139,7 +139,7 @@ public String user(@PathVariable Long id, @ModelAttribute @Valid UserForm form,
139
139
redirectAttributes.addFlashAttribute("successMessage", "User has been successfully updated.");
0 commit comments