Skip to content
Snippets Groups Projects

Resolve "As a user I would like to see a map of the landmarks, so that I can figure out where to go"

Compare and
334 files
+ 2721
44023
Compare changes
  • Side-by-side
  • Inline
Files
334
@@ -32,4 +32,17 @@ public class DatabaseController {
@@ -32,4 +32,17 @@ public class DatabaseController {
mav2.addObject("location", Locations);
mav2.addObject("location", Locations);
return mav2;
return mav2;
}
}
 
 
//
 
// public List<Location> approvedLocations(){
 
// List<Location> locations = locationRepository.getAllLocation();
 
// List<Location> locationApprovalList;
 
//// for (int i=0;i<locations.size();i++){
 
//// location
 
// for (Location loc :locations){
 
// if (loc.isLocationApproved()) {
 
// locationApprovalList.add(loc);
 
// }
 
// } return locationApprovalList;
 
// }
}
}
Loading