I added refile for file uploading in my rails 4.2 app. But now I starting to see Sinatra::NotFound when a user mistypes an url. What can I do to prevent it so it displays the correct error page?
Asked
Active
Viewed 80 times