Skip to content
代码片段 群组 项目
  • Markus Koller's avatar
    29c26e46
    Return empty body for 204 responses in API · 29c26e46
    Markus Koller 创作于
    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.
    未验证
    29c26e46
    历史
    Return empty body for 204 responses in API
    Markus Koller 创作于
    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.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。