Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Inc\Base\BaseController;

class AdminCallbacks extends BaseController
class Admin extends BaseController
{
public function adminDashboard()
{
Expand Down
4 changes: 2 additions & 2 deletions Lesson16/inc/Pages/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Inc\Api\SettingsApi;
use Inc\Base\BaseController;
use Inc\Api\Callbacks\AdminCallbacks;
use Inc\Api\Callbacks\Admin;

/**
*
Expand All @@ -25,7 +25,7 @@ public function register()
{
$this->settings = new SettingsApi();

$this->callbacks = new AdminCallbacks();
$this->callbacks = new Admin();

$this->setPages();

Expand Down