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 was archived by the owner on Jul 10, 2023. It is now read-only.
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: