navigation route fix

the route to show menu order was erroring because it was calling a
misspelled method, so that was fixed

also added some notes to improve the StartController
This commit is contained in:
ro 2024-05-06 15:18:05 -06:00
parent cb99c44a33
commit e224410cfa
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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();