Replaced Moment with Carbon #84

Merged
Ghost merged 148 commits from develop into beta 2022-09-22 05:53:36 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit e224410cfa - Show all commits

View file

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

View file

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