From 2eca5776b9711af1bf6e35d424bcf765d37c100b Mon Sep 17 00:00:00 2001 From: aslan Date: Tue, 12 Mar 2024 09:38:42 +0300 Subject: [PATCH] fix lint & tests errors --- .../admin/catalog/educational_institution/create.blade.php | 1 + routes/pages.php | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/views/admin/catalog/educational_institution/create.blade.php b/resources/views/admin/catalog/educational_institution/create.blade.php index 53ec8ee..2e45e91 100644 --- a/resources/views/admin/catalog/educational_institution/create.blade.php +++ b/resources/views/admin/catalog/educational_institution/create.blade.php @@ -1,3 +1,4 @@ +@php use App\Helpers\PositionHelper; @endphp @extends('layouts.admin_layout') @section('content') @auth() diff --git a/routes/pages.php b/routes/pages.php index 4e8d60d..5d9f4be 100644 --- a/routes/pages.php +++ b/routes/pages.php @@ -13,11 +13,8 @@ Route::get('/magistr', function () { })->name('magistr'); Route::get('/home', [PageController::class, 'directions'])->name('home'); +Route::get('/', [PageController::class, 'directions'])->name('bakalavr-special'); -Route::get('/', function () { - $faculties = Faculty::all(); - return view('new-design.bakalavr-special', compact('faculties')); -})->name('bakalavr-special'); Route::get('/course', function () { return view('menu.course');