Merge branch 'ipn' of github.com:zyphlar/Open-Source-Access-Control-Web-Interface into ipn
This commit is contained in:
commit
ae031838dc
|
@ -11,7 +11,7 @@
|
||||||
<a href="/" title="Home"><img src="/assets/logo.png" id="logo" /></a>
|
<a href="/" title="Home"><img src="/assets/logo.png" id="logo" /></a>
|
||||||
<%= link_to 'People', users_path if can? :read, User %>
|
<%= link_to 'People', users_path if can? :read, User %>
|
||||||
<%= link_to 'Access Cards', cards_path if can? :manage, Card %>
|
<%= link_to 'Access Cards', cards_path if can? :manage, Card %>
|
||||||
<% if can? :manage, UserCertification %>
|
<% if can? :create, UserCertification %>
|
||||||
<%= link_to 'Cert Classes', certifications_path if can? :read, Certification %>
|
<%= link_to 'Cert Classes', certifications_path if can? :read, Certification %>
|
||||||
<%= link_to 'User Certs', user_certifications_path if can? :create, UserCertification %>
|
<%= link_to 'User Certs', user_certifications_path if can? :create, UserCertification %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user