public function menuInfo() { //throw new \Exception("Esta é uma exceção de teste"); $tagController = new TagController(); $commentController = new CommentController(); return array($tagController->all(), $commentController->last()); }
public function getMenuInfo() { $tagController = new TagController(); $commentController = new CommentController(); $authUser = Auth::user(); return array($tagController->getAll(), $commentController->last(), $authUser); }