1
0
Fork 0

Rename route

This commit is contained in:
Alex Kotov 2020-10-16 04:28:45 +05:00
parent 95515b6c5d
commit dea28f94b3
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -6,7 +6,7 @@ use rocket::response::Redirect;
use rocket::request::Form; use rocket::request::Form;
use rocket_contrib::templates::Template; use rocket_contrib::templates::Template;
#[get("/sign_up")] #[get("/users/new")]
pub fn show() -> Template { pub fn show() -> Template {
Template::render("sign_up", &BasicTemplateContext { Template::render("sign_up", &BasicTemplateContext {
layout: "site", layout: "site",