wave middleware 404 not found
I started working on Dashboard and I could access the content in the beginning but when I moved it into wave middleware : Route::group(['middleware' => 'wave'], function () {
Route::get('dashboard', '\Wave\Http\Controllers\ProductController@index')->name('wave.dashboard'); Route::get('product/{slug}', '\Wave\Http\Controllers\ProductController@product')->name('wave.dashboard.product');
});
And I access the link again I see only 404 not found
For the product controller I have :
For the index blade I have :
Hey Mohamed,
Have you connected Stripe credentials to your application? The Wave middleware will try and detect if the user has a valid subscription. So I'm wondering if it is throwing this error because it cannot check.
Also, are you currently authenticated with a user when you try and visit that route?
Do you have a github repo you can share with me? Additionally, can you share your whole routes/web.php
file.
Thanks! Let me know the info above and I'll help you troubleshoot further ;)