forked from projects/fipamo
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:
parent
cb99c44a33
commit
e224410cfa
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue