Skip to content
Snippets Groups Projects

Resolve "As a user, I want to see a page of local authorities so that I can easily source contact details for a variety of different local authorities."

Compare and
6 files
+ 117
1
Compare changes
  • Side-by-side
  • Inline

Files

 
package Team5.SmartTowns.Organisation;
 
 
import org.springframework.ui.Model;
 
import org.springframework.web.bind.annotation.GetMapping;
 
import org.springframework.web.bind.annotation.RequestMapping;
 
import org.springframework.web.bind.annotation.RequestMethod;
 
import org.springframework.web.servlet.ModelAndView;
 
import org.springframework.stereotype.Controller;
 
@Controller
 
public class organisationControllers {
 
@GetMapping("/localauthorities")
 
public ModelAndView getLocalAuthoritiesPage(){
 
ModelAndView modelAndView = new ModelAndView("local-authorities");
 
return modelAndView;
 
}
 
}
Loading