-
-
Save endihunter/796caebc3828cc2b6d24da67beb04feb to your computer and use it in GitHub Desktop.
Routes file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers\Admin; | |
use Terranet\Administrator\ControllerAbstract; | |
class CustomController extends ControllerAbstract | |
{ | |
public function index() | |
{ | |
dd('123'); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Other routes | |
*/ | |
Route::group(['prefix' => 'admin'], function () { | |
Route::resource('custom', 'Admin\CustomController'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment