src/ShortUrl.php
/**
     * Register the routes to manage urls.
     *
     * @return void
     */
Register the routes to manage urls.
@return void
Register the routes to manage urls . @return void
public function manageRoutes()
    {
        \Route::get('/{id}/edit', '\Gallib\ShortUrl\Http\Controllers\UrlController@edit')->name('shorturl.url.edit');
        \Route::put('/{id}', '\Gallib\ShortUrl\Http\Controllers\UrlController@update')->name('shorturl.url.update');
        \Route::delete('/{id}', '\Gallib\ShortUrl\Http\Controllers\UrlController@destroy')->name('shorturl.url.destroy');
        \Route::get('/list', '\Gallib\ShortUrl\Http\Controllers\UrlController@index')->name('shorturl.url.index');
    }
public function manageRoutes ( ) { \ Route :: get ( '/{id}/edit' , '\Gallib\ShortUrl\Http\Controllers\UrlController@edit' ) -> name ( 'shorturl.url.edit' ) ; \ Route :: put ( '/{id}' , '\Gallib\ShortUrl\Http\Controllers\UrlController@update' ) -> name ( 'shorturl.url.update' ) ; \ Route :: delete ( '/{id}' , '\Gallib\ShortUrl\Http\Controllers\UrlController@destroy' ) -> name ( 'shorturl.url.destroy' ) ; \ Route :: get ( '/list' , '\Gallib\ShortUrl\Http\Controllers\UrlController@index' ) -> name ( 'shorturl.url.index' ) ; }
Register the routes to manage urls.
Register the routes to manage urls .