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-13 11:27:41 +01:00
|
|
|
Route::get('/', 'HomeController@index');
|
2017-11-12 15:09:38 +01:00
|
|
|
|
|
|
|
Auth::routes();
|
|
|
|
|
2017-11-13 11:27:41 +01:00
|
|
|
Route::get('/', 'HomeController@index')->name('home');
|
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-13 11:27:41 +01:00
|
|
|
Route::get('/deals/view/{type}/{id}', 'HomeController@view')->name('deals.view');
|
|
|
|
|
2017-11-13 20:51:16 +01:00
|
|
|
Route::get('/deals/delete/{type}/{id}', 'HomeController@delete')->name('deals.delete');
|