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
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?
The text was updated successfully, but these errors were encountered:
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 usesrespond_with resource, location: xxx
whereresource
isUser
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?The text was updated successfully, but these errors were encountered: