adding webjars code to spring-boot (#648)

merging the code and webjars different project cleanup
This commit is contained in:
Anil Bhaskar
2016-08-31 01:50:06 +05:30
committed by Grzegorz Piwowarek
parent ae907114c7
commit 28f88b0ca3
6 changed files with 16 additions and 64 deletions
@@ -0,0 +1,15 @@
package com.baeldung;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class TestController {
@RequestMapping(value="/")
public String welcome(Model model){
return "index";
}
}
@@ -0,0 +1,12 @@
package com.baeldung;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class WebjarsdemoApplication {
public static void main(String[] args) {
SpringApplication.run(WebjarsdemoApplication.class, args);
}
}