Rename route
This commit is contained in:
parent
95515b6c5d
commit
dea28f94b3
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Reference in a new issue