error: laravel 5.0 Method link_to_route does not exist.

error: laravel 5.0 Method link_to_route does not exist. Error when trying to output a html anchor link onto a page:

laravel 5.0 Method link_to_route does not exist

We need to give our route a name…

So this:

Then in the template view.blade.php

Gives this on the page:

appearing as HTML on the page and not a link

So it’s now appearing as HTML on the page and not a link. To fix this we must use {!! instead of {{

To fix this we must use {!! instead of {{

Viola.

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *