Accounts can now be deleted
This commit is contained in:
@@ -42,7 +42,8 @@ class Router(
|
||||
)
|
||||
|
||||
val protectedRoutes = routes(
|
||||
"/account" bind GET to { TODO() },
|
||||
"/settings" bind GET to { protected(it, userController::settings) },
|
||||
"/settings" bind POST to { protected(it, userController::settings) },
|
||||
"/export" bind POST to { TODO() },
|
||||
"/notes" bind GET to { protected(it, noteController::list) },
|
||||
"/notes/new" bind GET to { protected(it, noteController::new) },
|
||||
|
||||
Reference in New Issue
Block a user