Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ public ActionResult Delete4(int id)
doThings();
return View();
}

// GOOD: The Authorize attribute is used.
[Authorize("foo")]
public ActionResult Delete5(int id)
{
doThings();
return View();
}
}

[Authorize]
Expand Down