Changeset 531 for Dev/trunk/src/client/qed-client/routes.js
- Timestamp:
- 03/27/14 14:44:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client/routes.js
r490 r531 1 1 define([ 2 2 "./model/classes/questions", 3 "./model/classes/sessions", 3 4 "./model/classes/surveyRuns", 4 5 "./model/classes/surveys", … … 9 10 "./pages/survey", 10 11 "./pages/surveyRun", 12 "./pages/surveyRuns", 11 13 "./pages/surveys" 12 ], function(questionsClass, s urveyRunsClass, surveysClass, index, previewSurvey, question, questions, survey, surveyRun, surveys) {14 ], function(questionsClass, sessionsClass, surveyRunsClass, surveysClass, index, previewSurvey, question, questions, survey, surveyRun, surveyRuns, surveys) { 13 15 14 16 return [ … … 19 21 { path: surveysClass.getCollectionPath(), constructor: surveys }, 20 22 { path: surveysClass.getObjectPath(':objectId'), constructor: survey }, 23 { path: surveyRunsClass.getCollectionPath(), constructor: surveyRuns }, 21 24 { path: surveyRunsClass.getObjectPath(':objectId'), constructor: surveyRun }, 22 //{ path: "/sessions", constructor: sessions },23 //{ path: "/session/:sessionId", constructor: session },25 //{ path: sessionsClass.getObjectPath(''), constructor: sessions }, 26 //{ path: sessionsClass.getObjectPath(':objectId'), constructor: session }, 24 27 { path: surveysClass.getPreviewPath(':surveyId'), constructor: previewSurvey } 25 28 ];
Note: See TracChangeset
for help on using the changeset viewer.