22 lines
635 B
PHP
Executable File
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'); |