Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix($resource): Always return a resource instance when calling class met... #5061

Closed
wants to merge 1 commit into from

Commits on Nov 21, 2013

  1. fix($resource): Always return a resource instance when calling class …

    …methods on resources.
    
    Previously, calling `MyResource.save(myResourceInstance)`returned
    a promise, in contrast to the docs for `$resource`. However,
    calling `MyResource.save({name: 'Tobias"})`already correctly
    returned a resource instance.
    
    Fixes angular#4545.
    tbosch committed Nov 21, 2013
    Configuration menu
    Copy the full SHA
    fab1719 View commit details
    Browse the repository at this point in the history