diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-09-10 00:06:54 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-09-10 00:06:54 -0700 |
commit | 64c13e3235e32344a0c7c5febbefe802e9102ace (patch) | |
tree | d54ba5593c63b806906533b57345c39a8c344e5c /src/com/p4square/grow/frontend/GrowFrontend.java | |
parent | 46c3639530d200b70f63994d4016fae37dc2e994 (diff) |
Adding redirect page /account.
/account redirects to either the assessment or the training page, as
appropriate.
This change adds the /accounts/UID backend resource, which simply stores
an arbitrary json document for now.
Diffstat (limited to 'src/com/p4square/grow/frontend/GrowFrontend.java')
-rw-r--r-- | src/com/p4square/grow/frontend/GrowFrontend.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/p4square/grow/frontend/GrowFrontend.java b/src/com/p4square/grow/frontend/GrowFrontend.java index 3f3c96b..a1ed020 100644 --- a/src/com/p4square/grow/frontend/GrowFrontend.java +++ b/src/com/p4square/grow/frontend/GrowFrontend.java @@ -109,6 +109,7 @@ public class GrowFrontend extends FMFacade { final Router accountRouter = new Router(getContext()); accountRouter.attach("/authenticate", AuthenticatedResource.class); + accountRouter.attach("", AccountRedirectResource.class); accountRouter.attach("/assessment/question/{questionId}", SurveyPageResource.class); accountRouter.attach("/assessment/results", AssessmentResultsPage.class); accountRouter.attach("/assessment", SurveyPageResource.class); |