mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-04-22 19:02:12 +00:00
Changed use
This commit is contained in:
parent
bffacf4eb7
commit
cffa8c4b67
@ -2,15 +2,15 @@
|
||||
|
||||
namespace Index\Controller;
|
||||
|
||||
use AdminPanel\Classes\Controller;
|
||||
use AdminPanel\Classes\AdminPanel;
|
||||
use AdminPanel\Controller;
|
||||
use AdminPanel\AdminPanel;
|
||||
|
||||
class IndexController extends Controller
|
||||
{
|
||||
|
||||
public function index()
|
||||
{
|
||||
return AdminPanel::getInstance()->getTwig()->render("@Index/index.twig", [
|
||||
return $this->render("@Index/index.twig", [
|
||||
"title" => "Coming Soon"
|
||||
]);
|
||||
// return file_get_contents($this->getModuleRoot() . "/index.html");
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace ModuleName\Controller;
|
||||
|
||||
use AdminPanel\Classes\Controller;
|
||||
use AdminPanel\Classes\Authentificator;
|
||||
use AdminPanel\Controller;
|
||||
use AdminPanel\Authentificator;
|
||||
|
||||
class ExampleController extends Controller
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user