primitive not found page (better than nothing)
This commit is contained in:
@@ -8,6 +8,7 @@ pub mod dashboard;
|
||||
pub mod index;
|
||||
pub mod login;
|
||||
pub mod logs;
|
||||
pub mod notfound;
|
||||
pub mod persons;
|
||||
pub mod quotes;
|
||||
pub mod tags;
|
||||
@@ -35,6 +36,8 @@ pub fn pages() -> Router {
|
||||
.route("/quotes", get(quotes::page))
|
||||
.route("/quotes/add", get(quotes::add::page))
|
||||
.route("/quotes/add-form", post(quotes::add::form))
|
||||
//
|
||||
.fallback(notfound::page)
|
||||
}
|
||||
|
||||
pub fn base(title: &str, inner: Markup) -> Markup {
|
||||
|
||||
Reference in New Issue
Block a user