Reputation: 21
I know this question was asked but any answer did not work for me.
Same .blade is in used for different controllers, but only not working for one controller. This is the error:
InvalidArgumentException in FileViewFinder.php line 137:
View [themes.default.themes.default.general.index_relation] not found.
Right path to .blade is themes.default.general.index_relation
What I did:
php artisan cache:clear
composer dumpautoload
storage/framework/views
I still have same error.
Thank´s in advance.
Upvotes: 0
Views: 311
Reputation: 716
There is some command add themes.default.
prefix to your view string,
Try to render it like:
view('general.index_relation');
instead of
view('themes.default.general.index_relation');
Upvotes: 0