Currently, we have a membership website application where our customers
create a membership based website secured by a login. We allow our
customers to create pages which they provide html for. Well, sometimes
they put incorrect urls for their html (ie… mostly images and scripts
/images/blabla.gif), which Rails thinks is trying to pull from our
server. It then throws a “No route error”. With images these are just
shown in the error logs and not to the end user.
I’m wondering if there is a good way to either:
- Catch the image url error as a customer provides the html for their
- Catch so it isn’t logged.
incorrect, so I guess it wouldn’t only be images either. And is there a
way to tell a difference between “No route” errors?