remove privacy links

This commit is contained in:
Ryan Peters 2022-11-28 09:49:37 -05:00
parent c70b2d6a36
commit 3c040474d4
2 changed files with 1 additions and 16 deletions

View File

@ -8,13 +8,11 @@ namespace BinaryDad.AacpsBusAlert.Web.Controllers
{ {
public class HomeController : Controller public class HomeController : Controller
{ {
private readonly ILogger<HomeController> logger;
private readonly IBusRouteService busRouteService; private readonly IBusRouteService busRouteService;
private readonly IUserService userService; private readonly IUserService userService;
public HomeController(ILogger<HomeController> logger, IBusRouteService busRouteService, IUserService userService) public HomeController(IBusRouteService busRouteService, IUserService userService)
{ {
this.logger = logger;
this.busRouteService = busRouteService; this.busRouteService = busRouteService;
this.userService = userService; this.userService = userService;
} }
@ -38,11 +36,6 @@ namespace BinaryDad.AacpsBusAlert.Web.Controllers
return View(summary); return View(summary);
} }
public IActionResult Privacy()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error() public IActionResult Error()
{ {

View File

@ -22,9 +22,6 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a> <a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
</li> </li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -36,11 +33,6 @@
</main> </main>
</div> </div>
<footer class="border-top footer text-muted">
<div class="container">
&copy; 2022 - School Bus Checker - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</div>
</footer>
<script src="~/lib/jquery/dist/jquery.min.js"></script> <script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script> <script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script> <script src="~/js/site.js" asp-append-version="true"></script>