2018-09-07 23:12:34 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Route::get('/', function () {
|
2018-09-09 03:57:44 +00:00
|
|
|
return view('welcome');
|
2018-09-07 23:12:34 +00:00
|
|
|
});
|
2018-09-08 15:38:01 +00:00
|
|
|
|
2018-09-09 03:26:57 +00:00
|
|
|
Route::get('/product', 'ProductController@index');
|
|
|
|
Route::get('/product/{product}', 'ProductController@show');
|
|
|
|
Route::get('/item', 'ItemController@index');
|
2018-09-09 04:03:41 +00:00
|
|
|
Route::get('/item/{item}', 'ItemController@show');
|
|
|
|
Auth::routes();
|
|
|
|
|
|
|
|
Route::get('/home', 'HomeController@index')->name('home');
|