Reputation: 2329
I have a link and i used route()
method but it doesn't get processed to output the link it output a string
<a href="{{ route('admin.index') }}">Dashboard</a>
The result
http://web.app/%7B%7B%20route('admin.index')%20%7D%7D
Upvotes: 1
Views: 871
Reputation: 163788
%20%7D%7D
means PHP converts {{ }}
characters to HTML entities. It seems you don't use .blade.php
naming or do something like this. If renaming template won't help, please update your answer with full template contents.
Upvotes: 6