Commit 343048c7 authored by Liang Ding's avatar Liang Ding

🎨 #12764 Cleanup code

parent 37d479e9
......@@ -118,10 +118,8 @@ public class PermalinkHandler implements Handler {
* @see DispatcherServlet#result(RequestContext)
*/
private void dispatchToArticleProcessor(final RequestContext context, final JSONObject article) {
if (null != article) {
context.attr(Article.ARTICLE, article);
context.attr(Keys.HttpRequest.REQUEST_URI, Latkes.getContextPath() + "/article");
}
context.attr(Keys.HttpRequest.REQUEST_METHOD, HttpMethod.GET.name());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment