Skip to content

Passing explicit status codes. #6

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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