Changed Route::current()->url() to uri().
Changed Route::url() to Route::get(...)->uri(
Changed all Route::url to Route::get(...)->uri