Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // protect all methods in this class with Middleware admin
- // except userBugList() method
- public function __construct() {
- $this->middleware('admin', ['except' => ['create', 'store', 'userBugList']]);
- }
Add Comment
Please, Sign In to add comment