mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/tickme.git
synced 2026-08-19 04:23:56 +00:00
add comment routes
This commit is contained in:
@@ -140,4 +140,18 @@ Route::group(['prefix' => 'task_assignee', 'as' => 'task_assignee.', 'namespace'
|
||||
|
||||
Route::delete('/delete/{id}', 'DeleteTaskAssigneeController@destroy')->name('delete');
|
||||
|
||||
});
|
||||
|
||||
Route::group(['prefix' => 'comment', 'as' => 'comment.', 'namespace' => 'Comments'], function () {
|
||||
|
||||
Route::get('/{id}/show', 'FetchCommentController@fetch')->name('show');
|
||||
|
||||
Route::get('/list', 'ListCommentsController@list')->name('list');
|
||||
|
||||
Route::post('/create', 'CreateCommentController@create')->name('create');
|
||||
|
||||
Route::put('/update/{id}', 'UpdateCommentController@update')->name('update');
|
||||
|
||||
Route::delete('/delete/{id}', 'DeleteCommentController@destroy')->name('delete');
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user