diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-08-04 17:56:45 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-08-04 17:56:45 -0700 |
commit | 86a6d6cdbb46faae969dff1e27b6b52c23012174 (patch) | |
tree | d6286016a331c6e9cd9bd0465b5392c20f4d7138 /src/com/p4square/grow/frontend/GrowFrontend.java | |
parent | 52539d7aaba96b7997a3c5a07e4a1ad234af7d04 (diff) |
Adding VideosResource to return JSON blobs of video data for the training page.
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 74cd704..5c49fe2 100644 --- a/src/com/p4square/grow/frontend/GrowFrontend.java +++ b/src/com/p4square/grow/frontend/GrowFrontend.java @@ -77,6 +77,7 @@ public class GrowFrontend extends FMFacade { final Router accountRouter = new Router(getContext()); accountRouter.attach("/assessment/question/{questionId}", SurveyPageResource.class); accountRouter.attach("/assessment", SurveyPageResource.class); + accountRouter.attach("/training/{chapter}/videos/{videoId}.json", VideosResource.class); accountRouter.attach("/training/{chapter}", TrainingPageResource.class); accountRouter.attach("/training", TrainingPageResource.class); |