Responders v2.4.0 Release Notes

Release Date: 2017-04-28 // over 5 years ago
    • respond_with now accepts a new kwargs called :render which goes straight to the render call after an unsuccessful post request. Usefull if for example you need to render a template which is outside of controller's path eg:

    respond_with resource, render: { template: 'path/to/template' }