Hi, I have created a virtual page with:
Page::factory([
'slug' => $slug,
'template' => 'profile',
'content' => [
'author' => $email,
]
]);
I need to load a Controller for this page.
Would be nice something like:
'controller' => 'profile',
It’s possible in any way?
Thanks.