4 ms·
It doesn't. The route defines the controller. The controller displays the content, ideally using the view function (there are examples with and without a view,
by nerdgeneration 7y ago
It doesn't. The route defines the controller. The controller displays the content, ideally using the view function (there are examples with and without a view, but always with a controller). The view function takes an associative array for template replacements.