Add search terms parser + tests
This commit is contained in:
@@ -48,6 +48,7 @@ class Router(
|
||||
"/settings" bind POST to { protected(it, settingsController::settings) },
|
||||
"/export" bind POST to { protected(it, settingsController::export) },
|
||||
"/notes" bind GET to { protected(it, noteController::list) },
|
||||
"/notes" bind POST to { protected(it, noteController::search) },
|
||||
"/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) },
|
||||
|
||||
Reference in New Issue
Block a user