aboutsummaryrefslogtreecommitdiff
path: root/examples/tutorial01/polls/urls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial01/polls/urls.rs')
-rw-r--r--examples/tutorial01/polls/urls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tutorial01/polls/urls.rs b/examples/tutorial01/polls/urls.rs
index e978920..d56b8c9 100644
--- a/examples/tutorial01/polls/urls.rs
+++ b/examples/tutorial01/polls/urls.rs
@@ -2,6 +2,6 @@ use tosin::urls::Path;
use super::views;
-pub const url_patterns: &[Path] = [
+pub const URL_PATTERNS: &[Path] = &[
Path::View { url: "", view: views::index, name: "index" },
];