• Randall Leeds's avatar
    Change session interceptor to a transform · 07fc65c6
    Randall Leeds authored
    The difference is that, while both get to intercept and handle the
    response, only the transform can change the result that updates the
    resource instance.
    
    In this way, it's not necessary to copy the response data onto the
    scope anymore because the object is updated properly in place rather
    than being updated with the wrapped response containing the csrf
    token and flash messages and other parasession data.
    07fc65c6
Name
Last commit
Last update
h/static Loading commit data...
tests/js Loading commit data...
karma.config.js Loading commit data...
package.json Loading commit data...