src/Http/Controllers/UrlController.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()
    {
        $urls = Url::orderBy('created_at', 'desc')->paginate(config('shorturl.items_per_page'));
        return view('shorturl::urls.index', compact('urls'));
    }
public function index ( ) { $ urls = Url :: orderBy ( 'created_at' , 'desc' ) -> paginate ( config ( 'shorturl.items_per_page' ) ) ; return view ( 'shorturl::urls.index' , compact ( 'urls' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .