BookStack\Http\Controllers\PageController::showRecentlyCreated PHP Method

showRecentlyCreated() public method

Show a listing of recently created pages
public showRecentlyCreated ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
return Illuminate\Contracts\View\Factory | Illuminate\View\View
    public function showRecentlyCreated()
    {
        $pages = $this->pageRepo->getRecentlyCreatedPaginated(20)->setPath(baseUrl('/pages/recently-created'));
        return view('pages/detailed-listing', ['title' => 'Recently Created Pages', 'pages' => $pages]);
    }