Sha256: a783d4be05aca55b774073ef3e4a76f63e391fed625506f8d58cfd669f5f32b0
Contents?: true
Size: 673 Bytes
Versions: 13
Compression:
Stored size: 673 Bytes
Contents
<% if Wobauth::AdminAbility.new(current_user).can? :navigate, Wobauth::User %> <ul class="navbar-nav float-left"> <li class="nav-item dropdown <%= admin_active_class %>"> <a href="#" class="nav-link dropdown-toggle" role="button" id="adminNavDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Admin</a> <div class="dropdown-menu" aria-labelledby="adminNavDropdown"> <% ['users', 'groups', 'memberships', 'roles', 'authorities'].each do |ctrlr| %> <%=link_to t('controller.wobauth/' + ctrlr), wobauth.send("#{ctrlr}_path"), class: "dropdown-item"%> <% end %> </div> </li> </ul> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems