Skip to content

Commit

Permalink
Removed the Privacy page. (#1)
Browse files Browse the repository at this point in the history
* Removed the Privacy page.

* Updated build dotnet action to remove output option as not needed
  • Loading branch information
sam-c-dfe authored Jan 18, 2024
1 parent fdbf4a0 commit cb87964
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-dotnet-app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ runs:
run: dotnet restore ${{ inputs.solution_filename }}
- name: Build
shell: bash
run: dotnet build ${{ inputs.solution_filename }} --configuration Release --no-restore --output ./build
run: dotnet build ${{ inputs.solution_filename }} --configuration Release --no-restore
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ public IActionResult Index()
return View();
}

public IActionResult Privacy()
{
return View();
}

[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
Expand Down
6 changes: 0 additions & 6 deletions src/Dfe.EarlyYearsQualification.Web/Views/Home/Privacy.cshtml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</li>
</ul>
</div>
</div>
Expand All @@ -38,7 +35,7 @@

<footer class="border-top footer text-muted">
<div class="container">
&copy; 2024 - Dfe.EarlyYearsQualification.Web - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
&copy; 2024 - Dfe.EarlyYearsQualification.Web
</div>
</footer>
<script src="~/lib/jquery/dist/jquery.min.js"></script>
Expand Down

0 comments on commit cb87964

Please sign in to comment.