testing new middleware

This commit is contained in:
2018-11-04 14:27:54 -06:00
parent 28161a4308
commit 7dccc49553
2 changed files with 2 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ class MoonsController extends Controller
{
public function __construct() {
$this->middleware('auth');
$this->middleware('role:User');
}
/**

View File

@@ -13,6 +13,7 @@ class WikiController extends Controller
{
public function __construct() {
$this->middleware('auth');
$this->middleware('role:User');
}
public function displayRegister() {