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();
|
return $this->settings();
|
||||||
break;
|
break;
|
||||||
case 'navigation':
|
case 'navigation':
|
||||||
return $this->navigavtion();
|
return $this->navigation();
|
||||||
break;
|
break;
|
||||||
case 'pages':
|
case 'pages':
|
||||||
($third == null) ? $third = 'all' : $third = $third;
|
($third == null) ? $third = 'all' : $third = $third;
|
||||||
|
|
|
@ -33,6 +33,7 @@ class StartController extends Controller
|
||||||
$this->sort = $sortService;
|
$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)
|
public function index($first = 00, $second = 00, $third = 00)
|
||||||
{
|
{
|
||||||
$global = $this->settings->getGlobal();
|
$global = $this->settings->getGlobal();
|
||||||
|
|
Loading…
Reference in a new issue