clrghouz/app/Http/Controllers/HomeController.php

35 lines
522 B
PHP
Raw Normal View History

2021-05-03 12:53:40 +00:00
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Auth;
2021-06-14 11:33:18 +00:00
use App\Models\Domain;
2021-05-03 12:53:40 +00:00
class HomeController extends Controller
{
2021-06-14 11:33:18 +00:00
public function network(Domain $o)
2021-05-03 12:53:40 +00:00
{
2021-06-14 11:33:18 +00:00
return view('domain.view')
->with('o',$o);
2021-05-03 12:53:40 +00:00
}
2021-06-15 12:19:14 +00:00
/**
* Render a view that summarises the users permissions
*/
public function permissions()
{
return view('auth.permissions')
->with('user',Auth::user());
}
2021-06-15 12:19:14 +00:00
/**
* System Setup
*
* @note: Protected by Route
*/
public function setup()
{
return view('setup');
2021-06-15 12:19:14 +00:00
}
2021-05-03 12:53:40 +00:00
}