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
Hey @adamlamar, it's definitely not perfect right now but you can use the pull in the http.ResponseWriter as a dependency to the controller. Then write the response status directly.
In the show action, I'd like to return 404 if no item in the database exists with that ID.
Is there a specific error to return for the client to get a 404, both with html and json? Is there a pattern for returning an error partial?
The text was updated successfully, but these errors were encountered: