Replaced Moment with Carbon #84

Merged
Ghost merged 148 commits from develop into beta 2022-09-22 05:53:36 +02:00
Showing only changes of commit f53bb588c5 - Show all commits

View file

@ -62,8 +62,10 @@ class ThemeController extends Controller
//if coming from theme page, grabs id of latest page
if ($id == null) {
$uuid = $this->getPageUUID();
} else {
//get page by uuid
$page = $this->pages->getByUuid($id);
}
$page = $this->pages->getByUuid($uuid);
}
$pageData = $this->sort->page($page);
break;