Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9a87b00

Browse files
Merge pull request #1 from arboliveira/master
Even more simple
2 parents 3dcfa56 + 4fc9d74 commit 9a87b00

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

‎src/main/java/io/wedeploy/example/WeDeployController.java‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,18 @@
44
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
55
import org.springframework.stereotype.Controller;
66
import org.springframework.web.bind.annotation.RequestMapping;
7-
import org.springframework.web.servlet.ModelAndView;
87

98
@Controller
109
@EnableAutoConfiguration
1110
public class WeDeployController {
1211

13-
public WeDeployController() {
14-
15-
}
16-
1712
public static void main(String[] args) {
1813
SpringApplication.run(WeDeployController.class, args);
1914
}
2015

2116
@RequestMapping("/")
22-
public ModelAndView hello() {
23-
return newModelAndView("layout");
17+
public String hello() {
18+
return "layout.html";
2419
}
2520

2621
}
File renamed without changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /