summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend/GrowFrontend.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-09-10 00:06:54 -0700
committerJesse Morgan <jesse@jesterpm.net>2013-09-10 00:06:54 -0700
commit5306005833083589d0f93b0966b458da969e5f38 (patch)
tree9779a58d78bdcf27311e2593174afb83041a21fa /src/com/p4square/grow/frontend/GrowFrontend.java
parent90c95d9bf125dabb5bd34954394127cf2c1bb1b1 (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.java1
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 dd953d5..5252078 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);