Reputation: 5001
I want to display a picture such as for a background for a website or for a container(div). I have been trying to use . I get the error: No route able to display file /public/images/logo.png (file not found) was found.
Upvotes: 1
Views: 1239
Reputation: 54924
So, from your description, I assume that in your view somewhere you have
<img src="@{'/public/images/logo.png'}" />
If you are getting a routes error, it is because the file does not exist. So, check a few things.
Upvotes: 2