You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
This question relates to the last test in the rspec file. Is it proper to explicitly redirect to a url such as http://www.mysite.com/404.html if the page the user requested does not exist? If so, how do you coordinate this with the Sinatra not_found method? Should I stick the redirect in there? The behavior I'm seeing is that not_found will render the template with name "404," but it doesn't redirect you to a page named "404."
The text was updated successfully, but these errors were encountered:
This question relates to the last test in the rspec file. Is it proper to explicitly redirect to a url such as http://www.mysite.com/404.html if the page the user requested does not exist? If so, how do you coordinate this with the Sinatra not_found method? Should I stick the redirect in there? The behavior I'm seeing is that not_found will render the template with name "404," but it doesn't redirect you to a page named "404."
The text was updated successfully, but these errors were encountered: