remove unneeded @if

This commit is contained in:
Michael 2017-05-02 16:20:50 -04:00
parent 642b082c34
commit ab87ec6597

View file

@ -30,7 +30,7 @@
<ul class="pagination">
@for(int i = 1; i <= Model.PageCount; i++)
{
@if (i == Model.CurrentPage)
if (i == Model.CurrentPage)
{
<li class="active">@Html.ActionLink(i.ToString(), "Pong", "Stats", null, new { id = i })</li>
}