Trash feature done
This commit is contained in:
@@ -48,10 +48,12 @@ class Router(
|
||||
"/notes" bind GET to { protected(it, noteController::list) },
|
||||
"/notes/new" bind GET to { protected(it, noteController::new) },
|
||||
"/notes/new" bind POST to { protected(it, noteController::new) },
|
||||
"/notes/trash" bind GET to { protected(it, noteController::trash) },
|
||||
"/notes/{uuid}" bind GET to { protected(it, noteController::note) },
|
||||
"/notes/{uuid}" bind POST to { protected(it, noteController::note) },
|
||||
"/notes/{uuid}/edit" bind GET to { protected(it, noteController::edit) },
|
||||
"/notes/{uuid}/edit" bind POST to { protected(it, noteController::edit) },
|
||||
"/notes/deleted/{uuid}" bind POST to { protected(it, noteController::deleted) },
|
||||
)
|
||||
|
||||
val routes = routes(
|
||||
|
||||
Reference in New Issue
Block a user