comments
This commit is contained in:
10
routes/Admin/Core/Comments.php
Normal file
10
routes/Admin/Core/Comments.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Comments')->name('Comments.')->group(function () {
|
||||
Route::get('{model?}/{model_id?}', 'CommentController@index')->name('index');
|
||||
Route::get('create/{model?}/{model_id?}', 'CommentController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'CommentController@destroy')->name('destroy');
|
||||
Route::post('store', 'CommentController@store')->name('store');
|
||||
Route::get('edit/{id}', 'CommentController@edit')->name('edit');
|
||||
});
|
||||
|
||||
5
routes/Admin/Core/route.php
Normal file
5
routes/Admin/Core/route.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Core')->namespace('Core')->name('Core.')->group(function () {
|
||||
include( __DIR__ . '/Comments.php');
|
||||
});
|
||||
Reference in New Issue
Block a user