Fixed PhoneController.php

This commit is contained in:
Sebastian Davaris 2020-06-29 09:21:17 +02:00
parent 0683b122fe
commit 1eaa34516b
3 changed files with 24 additions and 6 deletions

View File

@ -0,0 +1,13 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class PhoneController extends Controller
{
function index() {
return Response::detect("vagttelefons.index");
}
}

View File

@ -16,6 +16,10 @@
</button> </button>
</header> </header>
<div class="d-none bg-sde-blue col" id="menu"> <div class="d-none bg-sde-blue col" id="menu">
<a href="{{ route("root.index") }}">
Home
</a>
<a href="{{ route("menu-plans.index") }}"> <a href="{{ route("menu-plans.index") }}">
<img src="{{URL::asset('/images/icons/Menuplan.svg')}}" alt="Menuplan"> <img src="{{URL::asset('/images/icons/Menuplan.svg')}}" alt="Menuplan">
Menuplan Menuplan
@ -28,15 +32,16 @@
<img src="{{URL::asset('/images/icons/Vaske booking liste.svg')}}" alt="Reservationer"> <img src="{{URL::asset('/images/icons/Vaske booking liste.svg')}}" alt="Reservationer">
Reservationer Reservationer
</a> </a>
<a href="#"> {{-- IKKE SLETTES!!!! --}}
<img src="{{URL::asset('/images/icons/Galleri.svg')}}" alt="Galleri"> {{-- <a href="#">--}}
Galleri {{-- <img src="{{URL::asset('/images/icons/Galleri.svg')}}" alt="Galleri">--}}
</a> {{-- Galleri--}}
{{-- </a>--}}
<a href="#"> <a href="#">
<img src="{{URL::asset('/images/icons/Kontoret.svg')}}" alt="Kontoret"> <img src="{{URL::asset('/images/icons/Kontoret.svg')}}" alt="Kontoret">
Kontoret Kontoret
</a> </a>
<a href="#"> <a href="{{ route("phones.index") }}">
<img src="{{URL::asset('/images/icons/Vagttelefon-hvid.svg')}}" alt="Vagttelefon"> <img src="{{URL::asset('/images/icons/Vagttelefon-hvid.svg')}}" alt="Vagttelefon">
Vagttelefon Vagttelefon
</a> </a>

View File

@ -25,7 +25,7 @@ Route::post("/login", "UserController@login")->name("users.login");
Route::get("/logout", "UserController@logout")->name("users.logout"); Route::get("/logout", "UserController@logout")->name("users.logout");
Route::get("phones", "PhoneController@index")->name("phones.index");
Route::resource("menu-plans", "MenuPlanController"); Route::resource("menu-plans", "MenuPlanController");
Route::resource("users", "UserController"); Route::resource("users", "UserController");