Skip to content

Instantly share code, notes, and snippets.

@raank
Created August 23, 2015 15:56
Show Gist options
  • Save raank/09b630a488ac44f1ccf1 to your computer and use it in GitHub Desktop.
Save raank/09b630a488ac44f1ccf1 to your computer and use it in GitHub Desktop.
my routes.php
Route::group(['prefix' => 'admin', 'middleware' => 'auth'], function()
{
Route::get('/', 'Admin\DashboardController@index');
Route::get('dashboard', 'Admin\DashboardController@index');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment