Files
app
bootstrap
config
database
public
resources
routes
api.php
channels.php
console.php
web.php
storage
tests
.env.example
.gitattributes
.gitignore
artisan
composer.json
composer.lock
package.json
phpunit.xml
server.php
webpack.mix.js
yarn.lock
web/routes/web.php
2017-11-12 23:36:48 +01:00

22 lines
635 B
PHP
Executable File

<?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::redirect('/', 'home');
Auth::routes();
Route::redirect('/', 'deals.list');
Route::get('/deals/list/{type}', 'HomeController@list')->name('deals.list');
Route::get('/deals/view/{type}/{id}', 'HomeController@view')->name('deals.view');