How do you echo out current URL in Cake\'s view?
For CakePHP 4.*
echo $this->Html->link( 'Dashboard', ['controller' => 'Dashboards', 'action' => 'index', '_full' => true] );