Blame view
routes/web.php
1.77 KB
242debab8 Первый коммит в п... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\MainController; /* |-------------------------------------------------------------------------- | 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('/',[MainController::class, 'index'])->name('index'); //Страница Избранные Route::get('favorite',[MainController::class, 'favorite'])->name('favorite'); //Страница контакты Route::get('contact',[MainController::class, 'contact'])->name('contact'); //Страница каталог Route::get('catalog',[MainController::class, 'catalog'])->name('catalog'); //Страница новости Route::get('news',[MainController::class, 'news'])->name('news'); //Страница о компании Route::get('about',[MainController::class, 'about'])->name('about'); //Страница объекты на карте Route::get('maps',[MainController::class, 'mapsobj'])->name('maps'); // Политика конфедициальности Route::get('conf', function () { return view('conf'); })->name('conf'); |
d2e0d4fcb Добавление миграц... |
41 42 43 44 45 46 |
//Детальная страница предложения недвижимости Route::get('offer/{house:id}', [MainController::class, 'offer'])->name('offer'); //Детальная страница новостей Route::get('detail-new/{news:id}', [MainController::class, 'DetailNew'])->name('new'); |
b64ce58d3 Карточка Жилой Ко... |
47 48 49 |
//Страница ЖилойКомплекс Route::get('complex/{area:id}', [MainController::class, 'complex'])->name('complex'); |