2017-11-12 15:09:38 +01: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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2017-11-12 23:36:48 +01:00
|
|
|
Route::redirect('/', 'home');
|
2017-11-12 15:09:38 +01:00
|
|
|
|
|
|
|
Auth::routes();
|
|
|
|
|
2017-11-12 23:36:48 +01:00
|
|
|
Route::redirect('/', 'deals.list');
|
2017-11-12 15:09:38 +01:00
|
|
|
|
2017-11-12 23:36:48 +01:00
|
|
|
Route::get('/deals/list/{type}', 'HomeController@list')->name('deals.list');
|
2017-11-12 15:09:38 +01:00
|
|
|
|
2017-11-12 23:36:48 +01:00
|
|
|
Route::get('/deals/view/{type}/{id}', 'HomeController@view')->name('deals.view');
|