diff options
Diffstat (limited to 'src/main/java/com/gitblit/guice')
-rw-r--r-- | src/main/java/com/gitblit/guice/CoreModule.java | 2 | ||||
-rw-r--r-- | src/main/java/com/gitblit/guice/WebModule.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/guice/CoreModule.java b/src/main/java/com/gitblit/guice/CoreModule.java index 9b479c09..89be94f7 100644 --- a/src/main/java/com/gitblit/guice/CoreModule.java +++ b/src/main/java/com/gitblit/guice/CoreModule.java @@ -15,7 +15,7 @@ */ package com.gitblit.guice; -import javax.inject.Singleton; +import com.google.inject.Singleton; import com.gitblit.FileSettings; import com.gitblit.GitBlit; diff --git a/src/main/java/com/gitblit/guice/WebModule.java b/src/main/java/com/gitblit/guice/WebModule.java index b4f9899f..bfea987f 100644 --- a/src/main/java/com/gitblit/guice/WebModule.java +++ b/src/main/java/com/gitblit/guice/WebModule.java @@ -32,6 +32,7 @@ import com.gitblit.servlet.RawServlet; import com.gitblit.servlet.RobotsTxtServlet; import com.gitblit.servlet.RpcServlet; import com.gitblit.servlet.SparkleShareInviteServlet; +import com.gitblit.servlet.SyndicationFilter; import com.gitblit.servlet.SyndicationServlet; import com.gitblit.wicket.GitblitWicketFilter; import com.google.common.base.Joiner; @@ -74,7 +75,7 @@ public class WebModule extends ServletModule { // filter(fuzzy(Constants.PAGES)).through(PagesFilter.class); // filter(fuzzy(Constants.RPC_PATH)).through(RpcFilter.class); // filter(fuzzy(Constants.ZIP_PATH)).through(DownloadZipFilter.class); -// filter(fuzzy(Constants.SYNDICATION_PATH)).through(SyndicationFilter.class); + filter(fuzzy(Constants.SYNDICATION_PATH)).through(SyndicationFilter.class); // Wicket String toIgnore = Joiner.on(",").join(Constants.R_PATH, Constants.GIT_PATH, Constants.RAW_PATH, |