Added System, fixed something with Domain, added 403, start of some other items
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
use App\Models\Domain;
|
||||
|
||||
class HomeController extends Controller
|
||||
@@ -12,6 +14,15 @@ class HomeController extends Controller
|
||||
->with('o',$o);
|
||||
}
|
||||
|
||||
/**
|
||||
* Render a view that summarises the users permissions
|
||||
*/
|
||||
public function permissions()
|
||||
{
|
||||
return view('auth.permissions')
|
||||
->with('user',Auth::user());
|
||||
}
|
||||
|
||||
/**
|
||||
* System Setup
|
||||
*
|
||||
@@ -19,6 +30,6 @@ class HomeController extends Controller
|
||||
*/
|
||||
public function setup()
|
||||
{
|
||||
|
||||
return view('setup');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user