1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Added auto-suggestions to tag names and values

This commit is contained in:
Dan Brown
2016-05-15 20:12:53 +01:00
parent eebad3e2a0
commit e80ae76856
8 changed files with 254 additions and 10 deletions

View File

@@ -88,7 +88,8 @@ Route::group(['middleware' => 'auth'], function () {
// Tag routes (AJAX)
Route::group(['prefix' => 'ajax/tags'], function() {
Route::get('/get/{entityType}/{entityId}', 'TagController@getForEntity');
Route::get('/suggest', 'TagController@getNameSuggestions');
Route::get('/suggest/names', 'TagController@getNameSuggestions');
Route::get('/suggest/values', 'TagController@getValueSuggestions');
Route::post('/update/{entityType}/{entityId}', 'TagController@updateForEntity');
});