diff --git a/Web/Scripts/Shared/Site.js b/Web/Scripts/Shared/Site.js index eb3186f..161e45c 100644 --- a/Web/Scripts/Shared/Site.js +++ b/Web/Scripts/Shared/Site.js @@ -93,7 +93,8 @@ $(function() { // Add active class to nav $(function() { - var idNavActiveRegex = { + var idNavActiveRegex = { + 'fuellog-nav': /\/fuellog/i, 'log-nav': /\/log|\/City|\/Purpose/i, 'vehicle-nav': /\/vehicle/i, 'user-nav': /\/user/i diff --git a/Web/Views/Shared/_Layout.cshtml b/Web/Views/Shared/_Layout.cshtml index 9425b9e..1587e86 100644 --- a/Web/Views/Shared/_Layout.cshtml +++ b/Web/Views/Shared/_Layout.cshtml @@ -36,7 +36,8 @@ {
  • @Html.ActionLink("Logs", "Index", "Log")
  • @Html.ActionLink("Vehicles", "Index", "Vehicle")
  • -
  • @Html.ActionLink("Users", "Index", "User")
  • +
  • @Html.ActionLink("Users", "Index", "User")
  • +
  • @Html.ActionLink("Fuel Logs", "Index", "FuelLog")
  • }