From d1560f9e1f5c6b794efb4f4dcd46e17231257db0 Mon Sep 17 00:00:00 2001 From: Ratul Date: Thu, 21 Mar 2024 02:54:54 +0530 Subject: [PATCH] Added missing link for #[server] macro (#2437) * Added missing link for #[server] macro Added missing link for #[server] macro * Removed spurious entry --- .../migrations/20221118172000_create_todo_table.sql | 7 ------- server_fn/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 examples/server_fns_axum/migrations/20221118172000_create_todo_table.sql diff --git a/examples/server_fns_axum/migrations/20221118172000_create_todo_table.sql b/examples/server_fns_axum/migrations/20221118172000_create_todo_table.sql deleted file mode 100644 index 3c2908e53..000000000 --- a/examples/server_fns_axum/migrations/20221118172000_create_todo_table.sql +++ /dev/null @@ -1,7 +0,0 @@ - -CREATE TABLE IF NOT EXISTS todos -( - id INTEGER NOT NULL PRIMARY KEY, - title VARCHAR, - completed BOOLEAN -); \ No newline at end of file diff --git a/server_fn/src/lib.rs b/server_fn/src/lib.rs index ee803960f..2d796d683 100644 --- a/server_fn/src/lib.rs +++ b/server_fn/src/lib.rs @@ -28,7 +28,7 @@ //! //! ### `#[server]` //! -//! The [`#[server]`][server] macro allows you to annotate a function to +//! The [`#[server]`](../leptos/attr.server.html) macro allows you to annotate a function to //! indicate that it should only run on the server (i.e., when you have an `ssr` feature in your //! crate that is enabled). //!