Skip to content

RABL, Devise and sessions/create.rabl #702

@rience

Description

@rience

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions