Rev | Line | |
---|
[407] | 1 | define([ |
---|
| 2 | './pages/index', |
---|
| 3 | './pages/questions', |
---|
| 4 | './pages/question', |
---|
| 5 | './pages/surveys', |
---|
| 6 | './pages/survey', |
---|
[420] | 7 | './pages/surveyRun', |
---|
[407] | 8 | './pages/sessions', |
---|
| 9 | './pages/session', |
---|
[420] | 10 | './pages/previewSurvey' |
---|
| 11 | ],function(index,questions,question,surveys,survey,surveyRun,sessions,session,previewSurvey){ |
---|
[407] | 12 | |
---|
| 13 | return [ |
---|
| 14 | { path: "/", redirect: "/index" }, |
---|
| 15 | { path: "/index", constructor: index }, |
---|
| 16 | { path: "/questions", constructor: questions }, |
---|
| 17 | { path: "/question/:questionId", constructor: question }, |
---|
| 18 | { path: "/surveys", constructor: surveys }, |
---|
| 19 | { path: "/survey/:surveyId", constructor: survey }, |
---|
[420] | 20 | { path: "/surveyRun/:surveyRunId", constructor: surveyRun }, |
---|
| 21 | //{ path: "/sessions", constructor: sessions }, |
---|
| 22 | //{ path: "/session/:sessionId", constructor: session }, |
---|
| 23 | { path: "/previewSurvey/:surveyId", constructor: previewSurvey } |
---|
[407] | 24 | ]; |
---|
| 25 | |
---|
[420] | 26 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.