v0.10.5 - Added middelware
This commit is contained in:
@@ -15,6 +15,7 @@ class NewsController extends Controller
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware([ "auth" ]);
|
||||
$this->middleware(["lang"]);
|
||||
|
||||
$this->middleware([ "check.auth:news.list" ])->only("index");
|
||||
$this->middleware([ "check.auth:news.show" ])->only("show");
|
||||
|
||||
Reference in New Issue
Block a user