Create SettingsController
ADD
app/Http/Controllers/SettingsController.php
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+
+class SettingsController extends Controller {
+ public function index() {
+ return view('settings');
+ }
+}

MODIFY
resources/views/layout.blade.php
resources/views/layout.blade.php
<li>
<a href="/dashboard">Dashboard</a>
</li>
+ <li>
+ <a href="/settings">Settings</a>
+ </li>
</ul>
</div>
</div>

ADD
resources/views/settings.blade.php
+@extends('layout')
+
+@section('body')
+ <h1>Settings</h1>
+ <div class="box">
+ <div class="box__section">
+ <p>Lorem ipsum</p>
+ </div>
+ </div>
+@endsection

MODIFY
routes/web.php
routes/web.php
@@ -5,6 +5,8 @@ Route::post('/login', 'LoginController@store')->name('login_post');
Route::group(['middleware' => ['auth']], function () {
Route::get('/dashboard', 'DashboardController@index')->name('dashboard_get');
+
+ Route::get('/settings', 'SettingsController@index')->name('settings_get');
});
Route::get('/logout', 'LogoutController@index')->name('logout_get');

Create SettingsController