How does the controller know which template to load it to? Or not, in a different way. If the controller does not specify which specific template to load, how, in this case, will the controller know which template to load?

    1 answer 1

    The template corresponding to the controller and the action is loaded. For example, if module = site, controller = siteController, and action = edit, then the template wiew \ site \ site \ edit.phtml will load