Skip to content

Commit

Permalink
Bump to 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rothlis committed Sep 21, 2016
1 parent a56ffc7 commit 0be8b16
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angularjs-rails-resource",
"version": "2.3.0",
"version": "2.3.1",
"main": "dist/angularjs-rails-resource.js",
"description": "A resource factory inspired by $resource from AngularJS",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions dist/angularjs-rails-resource.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* A resource factory inspired by $resource from AngularJS
* @version v2.3.0 - 2016-09-07
* @version v2.3.1 - 2016-09-21
* @link https://github.com/FineLinePrototyping/angularjs-rails-resource.git
* @author
*/
Expand Down Expand Up @@ -1498,7 +1498,7 @@
angular.forEach(angular.copy(this), function(value, key) {
if (attributesList.indexOf(key) === -1) { that[key] = undefined; }
});
return that.$patch(this.$url(), queryParams);
return that.$patch(this.$url(), this, queryParams);
};

RailsResource.prototype.get = function () {
Expand Down
4 changes: 2 additions & 2 deletions dist/angularjs-rails-resource.min.js

Large diffs are not rendered by default.

Binary file modified dist/angularjs-rails-resource.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/extensions/snapshots.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angularjs-rails-resource",
"description" : "A resource factory inspired by $resource from AngularJS",
"version": "2.3.0",
"version": "2.3.1",
"main" : "dist/angularjs-rails-resource.js",
"homepage" : "https://github.com/FineLinePrototyping/angularjs-rails-resource.git",
"author" : "",
Expand Down

0 comments on commit 0be8b16

Please sign in to comment.