equal
deleted
inserted
replaced
9 | It's a breeze. Simply tell Laravel the URIs it should respond to |
9 | It's a breeze. Simply tell Laravel the URIs it should respond to |
10 | and give it the controller to call when that URI is requested. |
10 | and give it the controller to call when that URI is requested. |
11 | |
11 | |
12 */ |
12 */ |
13 |
13 |
|
14 Route::get('/', 'WelcomeController@index'); |
|
15 |
|
16 Route::get('home', 'HomeController@index'); |
|
17 |
14 Route::group(['middleware' => ['web']], function () { |
18 Route::group(['middleware' => ['web']], function () { |
15 |
|
16 Route::get('/', 'WelcomeController@index'); |
|
17 |
|
18 Route::get('home', 'HomeController@index'); |
|
19 |
19 |
20 //Route::get('bo/docs/docDetailClient', 'Bo\DocumentListController@showClient'); |
20 //Route::get('bo/docs/docDetailClient', 'Bo\DocumentListController@showClient'); |
21 Route::resource('bo/docs', 'Bo\DocumentListController'); |
21 Route::resource('bo/docs', 'Bo\DocumentListController'); |
22 Route::controller('bo/docs', 'Bo\DocumentListController', [ |
22 Route::controller('bo/docs', 'Bo\DocumentListController', [ |
23 'getClient' => 'bo.docs.client' |
23 'getClient' => 'bo.docs.client' |