{
if (connectionStatus != DBStatus.CONNECTED)
{
response.redirect("/dberror");
}
ActorsPageServiceImpl actorsPageService = new ActorsPageServiceImpl(db);
Map<String, Object> model = new HashMap<String, Object>();
model.put("view", actorsPageService.getActorsPageView());
logger.debug("Started route to /actors");
return modelAndView(model, "src/main/java/resources/templates/actorsPage.vm");
}