diff --git a/app/Http/Controllers/Dash/IndexController.php b/app/Http/Controllers/Dash/IndexController.php index 9bd251a..a5ec06b 100644 --- a/app/Http/Controllers/Dash/IndexController.php +++ b/app/Http/Controllers/Dash/IndexController.php @@ -34,7 +34,7 @@ class IndexController extends Controller return $this->settings(); break; case 'navigation': - return $this->navigavtion(); + return $this->navigation(); break; case 'pages': ($third == null) ? $third = 'all' : $third = $third; diff --git a/app/Http/Controllers/Front/StartController.php b/app/Http/Controllers/Front/StartController.php index 64ce46d..c142175 100644 --- a/app/Http/Controllers/Front/StartController.php +++ b/app/Http/Controllers/Front/StartController.php @@ -33,6 +33,7 @@ class StartController extends Controller $this->sort = $sortService; } + //REFACTOR: there is some method overlap between index and pages, so that needs to be addressed public function index($first = 00, $second = 00, $third = 00) { $global = $this->settings->getGlobal();