Subversion Repositories SmartDukaan

Rev

Rev 22201 | Rev 22551 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22201 Rev 22384
Line 33... Line 33...
33
	@Autowired
33
	@Autowired
34
	FofoDocumentsGenerator generator;
34
	FofoDocumentsGenerator generator;
35
	
35
	
36
	
36
	
37
	@RequestMapping(value = "/fofo", method = RequestMethod.GET)
37
	@RequestMapping(value = "/fofo", method = RequestMethod.GET)
38
	public String getAll(HttpServletRequest request, Model model) throws Exception{
38
	public String getAll(HttpServletRequest request, Model model) throws Exception {
39
		model.addAttribute("fofoForms", mongoClient.getFofoForms(0, 50));
39
		model.addAttribute("fofoForms", mongoClient.getFofoForms(0, 50));
40
		return "fofo-index";
40
		return "fofo-index";
41
	}
41
	}
42
	
42
	
43
	@RequestMapping(value = "/fofo/{fofoId}/file-display", method = RequestMethod.GET)
43
	@RequestMapping(value = "/fofo/{fofoId}/file-display", method = RequestMethod.GET)