Added more descriptive names to account ui
This commit is contained in:
parent
b4044de503
commit
c9632b3d98
4 changed files with 175 additions and 11 deletions
|
|
@ -35,7 +35,7 @@ async fn main() {
|
|||
"/",
|
||||
Router::new()
|
||||
.route("/", get(routes::ui::index))
|
||||
.route("/accounts/id/:id", get(routes::ui::account::list))
|
||||
.route("/accounts/id/:id", get(routes::ui::account::show))
|
||||
.route(
|
||||
"/accounts/id/:id/transactions/add",
|
||||
get(routes::ui::account::add_transactions_view),
|
||||
|
|
@ -44,6 +44,10 @@ async fn main() {
|
|||
"/accounts/id/:id/transactions/add",
|
||||
post(routes::ui::account::add_transactions_action),
|
||||
)
|
||||
.route(
|
||||
"/accounts/id/:id/transactions",
|
||||
get(routes::ui::account::list_transactions),
|
||||
)
|
||||
.route("/transaction/:id", get(routes::ui::transaction::view))
|
||||
.route("/transaction/:id", post(routes::ui::transaction::update))
|
||||
.route(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue