/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { //return Article::all(); return view('easy.Application.articles.index')->withArticles(Article::all()); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('Easy.Admin.home')->withArticles(Article::all()); //return view('Easy.Admin.home')->withPages(Page::all()); }