Skip to content

Instantly share code, notes, and snippets.

@chriswk
Created October 5, 2010 08:39
Show Gist options
  • Select an option

  • Save chriswk/611238 to your computer and use it in GitHub Desktop.

Select an option

Save chriswk/611238 to your computer and use it in GitHub Desktop.
package no.ovitas.fk.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class WebCDController extends DownloadableWebController {
@RequestMapping("/webcd")
public String index(ModelMap modelMap) {
modelMap.addAttribute("files", getAllConfig());
modelMap.addAttribute("showLogon", false);
return "index";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment