Ekapp/skolehjem/app/Http/Controllers/RootController.php

19 lines
302 B
PHP

<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class RootController extends Controller
{
function __construct()
{
$this->middleware("auth");
}
public function index() {
return Response::detect("root.index");
}
}