Skip to content

Commit

Permalink
[Fixed] route id must small latter cause the default is 'id'
Browse files Browse the repository at this point in the history
  • Loading branch information
nobir committed Jul 21, 2022
1 parent 8b6882b commit d398cf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Views/Admin/ViewUnverifiedUsers.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
{@(permission.Name.ToString() + ", ")}
</td>
<td>
@Html.ActionLink("Verify", "VerifyUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-primary" })
@Html.ActionLink("Edit", "EditUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-primary" })
@Html.ActionLink("Delete", "DeleteUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-danger delete-btn", @id = "delete-btn" })
@Html.ActionLink("Verify", "VerifyUser", "Admin", new { id = user.Id }, new { @class = "btn btn-primary" })
@Html.ActionLink("Edit", "EditUser", "Admin", new { id = user.Id }, new { @class = "btn btn-primary" })
@Html.ActionLink("Delete", "DeleteUser", "Admin", new { id = user.Id }, new { @class = "btn btn-danger delete-btn", @id = "delete-btn" })
</td>
</tr>
}
Expand Down
6 changes: 3 additions & 3 deletions Views/Admin/ViewVerifiedUsers.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
{@(permission.Name.ToString() + ", ")}
</td>
<td>
@Html.ActionLink("Edit", "EditUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-primary" })
@Html.ActionLink("Delete", "DeleteUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-danger delete-btn", @id = "delete-btn" })
@Html.ActionLink("Unverify", "UnverifyUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-danger" })
@Html.ActionLink("Edit", "EditUser", "Admin", new { id = user.Id }, new { @class = "btn btn-primary" })
@Html.ActionLink("Delete", "DeleteUser", "Admin", new { id = user.Id }, new { @class = "btn btn-danger delete-btn", @id = "delete-btn" })
@Html.ActionLink("Unverify", "UnverifyUser", "Admin", new { id = user.Id }, new { @class = "btn btn-danger" })
</td>
</tr>
}
Expand Down

0 comments on commit d398cf2

Please sign in to comment.