From 311b49a2fdd97b8b870dbaccccb55058ee0207c8 Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Sun, 13 Jun 2021 16:33:46 -0600 Subject: lay groundwork for models --- examples/tutorial01/main.rs | 4 ++-- examples/tutorial01/polls/mod.rs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'examples/tutorial01') diff --git a/examples/tutorial01/main.rs b/examples/tutorial01/main.rs index f99ae7f..0fb087d 100644 --- a/examples/tutorial01/main.rs +++ b/examples/tutorial01/main.rs @@ -6,8 +6,8 @@ mod polls; fn urls() -> UrlMap { url_map! { - "polls" / ..polls::urls::urls(), - "admin" / ..admin::site::urls::urls(), + "polls" / ..polls::urls(), + "admin" / ..admin::site::urls(), } } diff --git a/examples/tutorial01/polls/mod.rs b/examples/tutorial01/polls/mod.rs index fd1dad8..d22af0f 100644 --- a/examples/tutorial01/polls/mod.rs +++ b/examples/tutorial01/polls/mod.rs @@ -1,2 +1,4 @@ pub mod urls; pub mod views; + +pub use urls::urls; -- cgit v1.2.3