source: Dev/trunk/client/qed/routes-admin.js @ 433

Last change on this file since 433 was 421, checked in by hendrikvanantwerpen, 12 years ago

Show responses with links in SurveyRun? overview.

File size: 932 bytes
Line 
1define([
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.