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

frontIndex() public method

Display posts list order by created_at This controller return posts shown in collapsible view.
public frontIndex ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
return Illuminate\Contracts\View\Factory | Illuminate\View\View
    public function frontIndex()
    {
        return view('front.posts.index', $this->index());
    }