Merge pull request #1324 from ealmloff/bool-attrs-ssr

Fix boolean attribute rendering in SSR
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2023-09-16 12:01:52 -07:00
commit 9c300ff266
6 files changed
+139 -26

No files matched your search

+2 -2
View File
@@ -226,9 +226,9 @@ pub trait Routable: FromStr + Display + Clone + 'static {
///
/// #[derive(Routable, Clone, PartialEq, Debug)]
/// enum Route {
/// #[route("/")]
/// #[route("/home")]
/// Home {},
/// #[route("/about")]
/// #[route("/home/about")]
/// About {},
/// }
///