Files
phpvms/routes/web.php
2017-06-09 15:07:29 -05:00

27 lines
646 B
PHP
Executable File

<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to using a Closure or controller method. Build something great!
|
*/
Auth::routes();
Route::get('/', 'HomeController@index');
Route::get('/home', 'HomeController@index');
Route::group([
'namespace' => 'Frontend',
'middleware' => 'auth',
], function () {
Route::resource('dashboard', 'DashboardController');
});