Redirect / to /receipts
parent
7ab2af94ef
commit
20185bdf1f
|
@ -88,7 +88,7 @@ impl TryFrom<TransactionRead> for Transaction {
|
||||||
|
|
||||||
#[rocket::get("/")]
|
#[rocket::get("/")]
|
||||||
async fn index() -> Redirect {
|
async fn index() -> Redirect {
|
||||||
Redirect::to(rocket::uri!(transaction_list()))
|
Redirect::to("/receipts")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[rocket::get("/transactions")]
|
#[rocket::get("/transactions")]
|
||||||
|
|
Loading…
Reference in New Issue