package no.dusken.aranea.web.control; import no.dusken.aranea.service.IssueService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; /** @author Magnus Kirø <magnuskiro@underdusken.no> **/ @Controller public class IssueImageController { private IssueService issueService; @RequestMapping("/blank/issueImage.do") public String latestIssue(Model model){ model.addAttribute("issues", issueService.getPublishedIssues(1)); return "no/dusken/aranea/base/web/issueImage/view"; } @Autowired public void setIssueService(IssueService issueService) { this.issueService = issueService; } }