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

@@ -4,7 +4,7 @@ define(["backbone", "js/models/course_update"], function(Backbone, CourseUpdateM
collection of updates as [{ date : "month day", content : "html"}]
*/
var CourseUpdateCollection = Backbone.Collection.extend({
url : function() {return this.urlbase + "course_info/updates/";},
// instantiator must set url
model : CourseUpdateModel
});