App\Http\Controllers\BlogController::backIndex PHP Method

backIndex() public method

For back-end posts index.
public backIndex ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
return Illuminate\Contracts\View\Factory | Illuminate\View\View
    public function backIndex()
    {
        $posts = $this->blog->all(setting('post_per_page_admin'), false);
        $links = $posts->links();
        return view('back.blog.index', compact('posts', 'links'));
    }