Closed dgvirtual closed 1 year ago
Upon further investigation I found that the method is just not implemented in Bonfire, since Bonfire extends every Shield controller and reimplements every method that returns a view. To get it working, one would need to extend the Shield ActionController show method, which is not the kind of controller method that I am used to. I tried and failed badly, so I gave up.
After a user registers and an email with a code is sent to him, the route http://localhost:8080/auth/a/show is loaded, but results in an error (log file output):
It seems that the app is trying to load the view with a Config/Auth.php $views array key 'action_email_activate_show' which points to '\CodeIgniter\Shield\Views\email_activate_show', which in turn tries to load the master layout view in it's first line of code, again, taking the value for key 'layout' from the same config $views array: 'layout' => 'master', and then failing to find the view in question, since it is actually looking in the same directory where the email_activate_show.php file is placed.
And I have no clue how to refer to that layout, which happens to be in themes/Auth, properly :( .