<?php

namespace App\Controllers\Panel;

class ProfilePanelController extends PanelController
{
    public function index()
    {
        $this->requireCandidate();
        return view('panel/profile/index', $this->panelData(['title' => 'My Profile', 'photoUrl' => $this->currentUser()->profile_photo_path ? base_url($this->currentUser()->profile_photo_path) : null]));
    }
}
