I need to enable /register page to logged in users and restrict for non logged in users in laravel 5.2. I tried changing \app\Http\Controllers\Auth\AuthController.php page constructer to view /register page to logged in users but it didn't work...
public function __construct() {
$this->middleware($this->guestMiddleware(), ['except' => ['logout', 'getRegister', 'postRegister']]);
}
It would be great help if someone can look into this.