Last change
on this file since 443 was
443,
checked in by hendrikvanantwerpen, 12 years ago
|
Reorganized for Node --- the SVN gods hate us all!
Lost all historical info on moved files, because SVN is a f *.
Also we have Node now, serving both the static content and forwarding
database requests.
|
File size:
932 bytes
|
Rev | Line | |
---|
[443] | 1 | define([ |
---|
| 2 | './pages/index', |
---|
| 3 | './pages/questions', |
---|
| 4 | './pages/question', |
---|
| 5 | './pages/surveys', |
---|
| 6 | './pages/survey', |
---|
| 7 | './pages/surveyRun', |
---|
| 8 | './pages/sessions', |
---|
| 9 | './pages/session', |
---|
| 10 | './pages/previewSurvey' |
---|
| 11 | ],function(index,questions,question,surveys,survey,surveyRun,sessions,session,previewSurvey){ |
---|
| 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 }, |
---|
| 20 | { path: "/surveyRun/:surveyRunId", constructor: surveyRun }, |
---|
| 21 | //{ path: "/sessions", constructor: sessions }, |
---|
| 22 | //{ path: "/session/:sessionId", constructor: session }, |
---|
| 23 | { path: "/previewSurvey/:surveyId", constructor: previewSurvey } |
---|
| 24 | ]; |
---|
| 25 | |
---|
| 26 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.