7:5c5d433b3a14
Anton Shestakov <engored@ya.ru>, Thu, 27 Dec 2012 00:12:30 +0900
Moving toward a multi-workspace work model. There's no auth, knowing workspace id gives full access.

next change 8:39ac2486b9d3
previous change 0:a02e94c5b96b

static/js/framework/collections.js

Permissions: -rw-r--r--

Other formats: Feeds:
var Projects = Backbone.Collection.extend({
model: Project,
url: function() {
return '/' + encodeURIComponent(fruitbar.workspace) + '/projects/';
}
});
var Tasks = Backbone.Collection.extend({
model: Task,
url: function() {
return '/' + encodeURIComponent(fruitbar.workspace) + '/tasks/';
}
});