Skip to content

Commit

Permalink
feat: решены задачи раздела Routes
Browse files Browse the repository at this point in the history
  • Loading branch information
shevelev-anatoliy committed Aug 8, 2024
1 parent 7ca684c commit 4ba3093
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@
// Одна строка кода
Route::view('/hello', 'hello');


//TODO Route Задание 2: По GET урлу / обратиться к IndexController, метод index
// Одна строка кода
Route::get('/', [IndexController::class, 'index']);


//TODO Route Задание 3: По GET урлу /page/contact отобразить view - /resources/views/pages/contact.blade
// с наименованием роута - contact
// Одна строка кода
Expand Down Expand Up @@ -56,3 +54,4 @@
});

require __DIR__ . '/default.php';

0 comments on commit 4ba3093

Please sign in to comment.