Finding Router _name in the controller


#1

Hi,

I am working with Cake3 and have a question.

We use Routes _name as identifiers because its unique and easy to work with.
I am struggling however to get the current route _name in a controller.

With Router::parse(‘url’) i get back some parameters but not _name

Can someone point me in the right direction ?

Thanks in advance