Skip to content

Instantly share code, notes, and snippets.

@endihunter
Created January 18, 2017 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save endihunter/796caebc3828cc2b6d24da67beb04feb to your computer and use it in GitHub Desktop.
Save endihunter/796caebc3828cc2b6d24da67beb04feb to your computer and use it in GitHub Desktop.
Routes file
<?php
namespace App\Http\Controllers\Admin;
use Terranet\Administrator\ControllerAbstract;
class CustomController extends ControllerAbstract
{
public function index()
{
dd('123');
}
}
<?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