Skip to content

Rails, respond_with and status #88

@Dagnan

Description

@Dagnan

Hi.

When creating an object using respond_with, it renders the json or xml with status 201 (Created).
I think with rabl it just renders the template with the status code 200.

Is it a bug or a normal behavior? And is there a way to merge both behaviors?

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