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
Please tell me I want to create a controller for base.html
namespace App\Controllers;
use \Core\View;
class Base extends \Core\Controller
{
public function indexAction()
{
View::renderTemplate('base.html', ['tmp' => 'test']);
}
}
This is required in order to display for example a menu
The text was updated successfully, but these errors were encountered:
I'm afraid I'm not quite sure what you mean - you want to be able to display the base.html view if you go to example.com/base/index ? Please can you give me more details?
Please tell me I want to create a controller for base.html
This is required in order to display for example a menu
The text was updated successfully, but these errors were encountered: