Return empty body for 204 responses in API
Previously these would just return the `.to_s` representation of the Grape route block expression, e.g. `"<Project:0x0000560fe150ce80>`. This is now changed to always use the `no_content!` helper. Since this aborts the execution we also have to tweak the order slightly, especially with the `destroy_conditionally!` helper.
Showing
Please register or sign in to comment