Skip to content

Instantly share code, notes, and snippets.

@lemesdaniel
Forked from raank/routes.php
Last active August 29, 2015 14:28
Show Gist options
  • Save lemesdaniel/ec5218dd8fa7122dbe1a to your computer and use it in GitHub Desktop.
Save lemesdaniel/ec5218dd8fa7122dbe1a to your computer and use it in GitHub Desktop.
my routes.php
Route::group(['prefix' => 'admin', 'middleware' => 'auth'], function()
{
Route::get('/',['as'=>'admin.index', 'uses' => 'Admin\DashboardController@index']);
Route::get('dashboard', ['as'=>'admin.dashboard', 'uses' => 'Admin\DashboardController@index']);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment