RESTful refactoring for course_info updates and handouts.

html page and update access use 2 different urls
GET update can get an individual update
STUD-944
This commit is contained in:
Don Mitchell
2013-11-01 14:11:32 -04:00
parent de8b378dd9
commit 99e7daf796
14 changed files with 291 additions and 275 deletions

View File

@@ -1,6 +1,6 @@
define(["backbone"], function(Backbone) {
var ModuleInfo = Backbone.Model.extend({
url: function() {return "/module_info/" + this.id;},
urlRoot: "/xblock",
defaults: {
"id": null,