aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index f5fbd56..c9afc46 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,4 +1,4 @@
-#![feature(proc_macro_hygiene, decl_macro)]
+#![feature(proc_macro_hygiene, decl_macro, option_result_contains)]
#[macro_use] extern crate rocket;
#[macro_use] extern crate serde_derive;
@@ -8,6 +8,7 @@ extern crate serde_json;
mod api;
mod ui;
mod db;
+mod structures;
use rocket_contrib::templates::Template;
@@ -19,8 +20,8 @@ fn main() {
])
.mount("/", routes![
ui::index,
- ui::make_post,
- ui::threads
+ ui::boards,
+ ui::board
])
.mount("/api/v1/", routes![
api::post