"http://" is added to the beginning of the url when I want to redirect route
for example
true redirect => site.com/publisher/dashboard
But something happens => site.com/http://publisher/dashboard
Contolletr.php :
return redirect()->route('publisher.dashboard');
web.php:
Route::namespace('Publisher')->prefix('publisher')->name('publisher.')->group(function () {
Route::middleware(['publisher','checkStatus:publisher'])->group(function () {
Route::get('dashboard', 'PublisherController@dashboard')->name('dashboard');
})
My Answer:
It seems like your question got cut off. Can you please provide more details or clarify what you are looking for help with in PHP?
Rate this post
3 of 5 based on 3830 votesComments