NKD
NKD

Reputation: 21

Laravel - View [$name ] is not find

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:

I still have same error.

Thank´s in advance.

Upvotes: 0

Views: 311

Answers (1)

Aboudeh87
Aboudeh87

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

Related Questions