Added edit profile page.
[photos] / src / main / java / org / wamblee / photos / wicket / WicketApplication.java
index a1859a70ac3e0d9bbb7d0276d77a52ee922863fb..bac2877bd8fc4554a39ea3f85720c5a5d4e0f2e0 100644 (file)
@@ -55,6 +55,8 @@ public class WicketApplication extends WebApplication {
         settings.setInternalErrorPage(ErrorPage.class);
 
         mount(new MixedParamUrlCodingStrategy("view", HomePage.class, new String[]{"path"}));
+        mount(new MixedParamUrlCodingStrategy("editprofile", EditProfilePage.class, new String[]{}));
+        mount(new MixedParamUrlCodingStrategy("admin", AdminPage.class, new String[]{}));
 
         // Use the lines below to get the internal error page also when in
         // development mode.