added files to admin panel WIP
parent
096e6d4f01
commit
54fb4d93b8
|
@ -0,0 +1,15 @@
|
|||
#[path = "misc.rs"]
|
||||
pub mod misc;
|
||||
|
||||
extern crate rocket;
|
||||
extern crate rocket_contrib;
|
||||
|
||||
use misc::get_context;
|
||||
use rocket_contrib::templates::Template;
|
||||
|
||||
#[get("/")]
|
||||
pub fn index() -> Template {
|
||||
let context = get_context();
|
||||
|
||||
Template::render("base", context)
|
||||
}
|
Loading…
Reference in New Issue