Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Non-JSON error messages #4

Open
ryandesign opened this Issue Nov 8, 2012 · 2 comments

Comments

Projects
None yet
2 participants

When an error occurs, such as "Password and confirmation do not match" or "Request token is invalid", a JSON response is sent.

My app is just a web site, in which I'd like to avoid JavaScript if plain HTML would do. How would I go about getting a plain HTML response to the browser for these error messages?

The documentation should address this, and/or there should be a working example of this.

Contributor

kbjr commented Nov 8, 2012

At the moment there is no way to intercept the output before it goes to the client, but it wouldn't be too hard to add in the functionality.

kbjr added a commit that referenced this issue Nov 12, 2012

kbjr added a commit that referenced this issue Apr 13, 2013

Contributor

kbjr commented Apr 13, 2013

This feature is in place, but is completely untested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment