Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from troygoode:master #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Update README.markdown
  • Loading branch information
troygoode committed Feb 3, 2012
commit 9a77506698bcdd2dbcf3eede3b9bae0e72f848a5
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected void Application_AuthenticateRequest()
`Html.ActionLink("Home", "Index", "Home", new {Area = ""}, new {})`
3. Add a User Administration link to your master page (change "Administrator" to whatever role you want to use):

```html
```erb
<% if (Roles.IsUserInRole("Administrator")){ %>
<li><%= Html.ActionLink("User Administration", "Index", "UserAdministration", new { Area = "UserAdministration" }, new { }) %></li>
<% } %>
Expand Down