You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.
This seems backwards to me. Instead using the class name to determine the correct template, we should use the names of the current template and its ancestors to generate a list of classes to load. Such a list of templates is already being generated in Loader.php:
Controllers don't work when dealing with CPT that has underscores.
My CPT is cnm_yacht
template:
single-cnm_yacht.blade.php works!
Controller:
SingleCnmYacht Controller doesn't work
Temporary solution is adding $template var to controller
but.. is there a better alternative?
if not... can we add this to instructions?
This line is also a good helper to find out hierarchy:
put this one in your template:
The text was updated successfully, but these errors were encountered: