mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
use jax rs instead of wicket for rest api
This commit is contained in:
@@ -29,8 +29,6 @@ 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;
|
||||
|
||||
public class CommaFeedApplication extends AuthenticatedWebApplication {
|
||||
@@ -45,11 +43,6 @@ public class CommaFeedApplication extends AuthenticatedWebApplication {
|
||||
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();
|
||||
|
||||
getMarkupSettings().setStripWicketTags(true);
|
||||
|
||||
Reference in New Issue
Block a user