| 21615 |
kshitij.so |
1 |
package com.spice.profitmandi.web.controller;
|
|
|
2 |
|
|
|
3 |
import org.slf4j.Logger;
|
|
|
4 |
import org.slf4j.LoggerFactory;
|
|
|
5 |
import org.springframework.stereotype.Controller;
|
|
|
6 |
import org.springframework.ui.ModelMap;
|
|
|
7 |
import org.springframework.web.bind.annotation.ModelAttribute;
|
|
|
8 |
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
9 |
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
10 |
|
|
|
11 |
@Controller
|
|
|
12 |
public class DashboardController {
|
|
|
13 |
|
|
|
14 |
private static final Logger LOGGER = LoggerFactory.getLogger(DashboardController.class);
|
|
|
15 |
|
|
|
16 |
@RequestMapping(value = "/dashboard", method = RequestMethod.GET)
|
|
|
17 |
public String dashboard(@ModelAttribute("model") ModelMap model) {
|
|
|
18 |
return "dashboard";
|
|
|
19 |
}
|
|
|
20 |
|
|
|
21 |
}
|