Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 2 deletions.
  1. +1 −1  package.json
  2. +1 −1  servers/Route.bones.js
View
2  package.json
@@ -1,7 +1,7 @@
{
"name": "bones",
"description": "Framework for using backbone.js on the client and server.",
- "version": "2.3.1",
+ "version": "2.3.2",
"author": {
"name": "Development Seed",
View
2  servers/Route.bones.js
@@ -82,7 +82,7 @@ server.prototype.initializeModels = function(app) {
this.models = app.models;
_.bindAll(this, 'loadModel', 'getModel', 'saveModel', 'delModel', 'loadCollection');
this.get('/api/:model/:id', [this.loadModel, this.getModel]);
- this.post('/api/:model/:id?', [this.loadModel, this.saveModel]);
+ this.post('/api/:model', [this.loadModel, this.saveModel]);
this.put('/api/:model/:id', [this.loadModel, this.saveModel]);
this.del('/api/:model/:id', [this.loadModel, this.delModel]);
this.get('/api/:collection', this.loadCollection.bind(this));

No commit comments for this range

Something went wrong with that request. Please try again.