From ea1349c5188e71ae05397c8ff845bd57152472ff Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 12 Feb 2022 00:33:50 -0800 Subject: [PATCH] Clean up code. --- .../webmvc/PublicPagesController.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/webmvc/PublicPagesController.java b/wise-webapp/src/main/java/com/wisemapping/webmvc/PublicPagesController.java index 55e8048f..f65cb811 100644 --- a/wise-webapp/src/main/java/com/wisemapping/webmvc/PublicPagesController.java +++ b/wise-webapp/src/main/java/com/wisemapping/webmvc/PublicPagesController.java @@ -18,32 +18,14 @@ package com.wisemapping.webmvc; -import com.wisemapping.service.MindmapService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.servlet.ModelAndView; @Controller public class PublicPagesController { - @Qualifier("mindmapService") - @Autowired - private MindmapService mindmapService; - - @RequestMapping(value = "keyboard") - public String newsPage() { - return "keyboard"; - } @RequestMapping(value = "home") public String home() { return "homepage"; } - - @RequestMapping(value = "iframeWrapper") - public ModelAndView showIframePage(@RequestParam(required = true) String url) { - return new ModelAndView("iframeWrapper", "url", url); - } }