src/ShortUrl.php
/**
     * Register the routes to create urls.
     *
     * @return void
     */
Register the routes to create urls.
@return void
Register the routes to create urls . @return void
public function createRoutes()
    {
        \Route::get('/', '\Gallib\ShortUrl\Http\Controllers\UrlController@create')->name('shorturl.url.create');
        \Route::post('/', '\Gallib\ShortUrl\Http\Controllers\UrlController@store')->name('shorturl.url.store');
    }
public function createRoutes ( ) { \ Route :: get ( '/' , '\Gallib\ShortUrl\Http\Controllers\UrlController@create' ) -> name ( 'shorturl.url.create' ) ; \ Route :: post ( '/' , '\Gallib\ShortUrl\Http\Controllers\UrlController@store' ) -> name ( 'shorturl.url.store' ) ; }
Register the routes to create urls.
Register the routes to create urls .