Commit 20409cd9 authored by Jakub Balga's avatar Jakub Balga
Browse files

Titles

parent 6c163c7e
Pipeline #141120 passed with stages
in 2 minutes and 35 seconds
......@@ -113,6 +113,7 @@ public class HarvestController extends ControllerBase {
initializeViewModel(viewModel);
viewModel.setSuccess(true);
viewModel.setTitle("Harvests");
return view(viewModel);
}
......
......@@ -68,6 +68,7 @@ public class ProductReviewController extends ControllerBase{
viewModel.setWineBottleNameLookup(bottleNames);
viewModel.setUserFirstNameLookup(userFirstNames);
viewModel.setUserLastNameLookup(userLastNames);
viewModel.setTitle("Product reviews");
return view(viewModel);
}
......
......@@ -62,6 +62,7 @@ public class WineBottleController extends ControllerBase {
viewModel.setWinebottles(bottles);
viewModel.setWineTypeNameLookup(typeNames);
viewModel.setGrapeNameLookup(grapeNames);
viewModel.setTitle("Products");
return view(viewModel);
}
......
......@@ -50,6 +50,7 @@ public class WineTypeController extends ControllerBase {
viewModel.setWinetypes(types);
viewModel.setGrapeNameLookup(grapeNames);
viewModel.setTitle("Wine types");
return view(viewModel);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment