Skip to content

Passing explicit status codes. #6

@shetty-tejas

Description

@shetty-tejas

Is there a way to pass explicit status codes using this library?

As a work around, I've been using the following code in my action:

render status: :created

This seems to be working fine, but is there a way where I can achieve the same result by specifying an argument or option in template rather than action?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions