Skip to content

[Endpointable] Destroy action should be able to render some data or send head(:destroyed) #248

Description

@GalenkoEugene

app/controllers/concerns/default_endpoint.rb

match.destroyed    { head(:no_content) } 
# => replace with 
match.destroyed    { |result| success_response(result) }

This approach should be discussed with the fronted team

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