Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RABL, Devise and sessions/create.rabl #702

Open
rience opened this issue Nov 4, 2017 · 0 comments
Open

RABL, Devise and sessions/create.rabl #702

rience opened this issue Nov 4, 2017 · 0 comments

Comments

@rience
Copy link

rience commented Nov 4, 2017

Can you tell me if this is a bug in Rabl or I didn't configure my app correctly. So here's a problem. I'm using Devise and I allow users to authenticate using :html and :json. Devise uses respond_with resource, location: xxx where resource is User object.

For JSON responses - I have created create.rabl. However, now for HTML requests - this file is also served. Why Rabl is responding to HTML-format requests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant