docs($resource): fix bad indentation producing a code block

This commit is contained in:
Cedric Soulas 2013-02-10 20:42:55 +01:00 committed by Igor Minar
parent 027f20be1f
commit 37bdcc984a

View file

@ -183,9 +183,9 @@
});
</pre>
*
* It's worth noting that the success callback for `get`, `query` and other method gets passed
* in the response that came from the server as well as $http header getter function, so one
* could rewrite the above example and get access to http headers as:
* It's worth noting that the success callback for `get`, `query` and other method gets passed
* in the response that came from the server as well as $http header getter function, so one
* could rewrite the above example and get access to http headers as:
*
<pre>
var User = $resource('/user/:userId', {userId:'@id'});