app/Http/Controllers/ComentarioController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $comentarios= ComentarioModel::orderBy('clave_comentario','ASC')->get();
        return view('blog.comentario', compact('comentarios'));
    }
public function index ( ) { $ comentarios = ComentarioModel :: orderBy ( 'clave_comentario' , 'ASC' ) -> get ( ) ; return view ( 'blog.comentario' , compact ( 'comentarios' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .