mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
use backend to populate data
This commit is contained in:
@@ -29,6 +29,7 @@ import org.slf4j.LoggerFactory;
|
||||
import com.commafeed.frontend.components.auth.LoginPage;
|
||||
import com.commafeed.frontend.components.auth.LogoutPage;
|
||||
import com.commafeed.frontend.pages.home.HomePage;
|
||||
import com.commafeed.frontend.rest.FeedEntriesREST;
|
||||
import com.commafeed.frontend.rest.FeedSubscriptionsREST;
|
||||
import com.commafeed.frontend.utils.exception.DisplayExceptionPage;
|
||||
|
||||
@@ -43,8 +44,11 @@ public class CommaFeedApplication extends AuthenticatedWebApplication {
|
||||
mountPage("login", LoginPage.class);
|
||||
mountPage("logout", LogoutPage.class);
|
||||
mountPage("error", DisplayExceptionPage.class);
|
||||
|
||||
|
||||
mountPage("subscriptions", FeedSubscriptionsREST.class);
|
||||
mountPage(String.format("entries/${%s}/${%s}/${%s}",
|
||||
FeedEntriesREST.PARAM_TYPE, FeedEntriesREST.PARAM_ID,
|
||||
FeedEntriesREST.PARAM_READTYPE), FeedEntriesREST.class);
|
||||
|
||||
setupInjection();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user