update inventory hide and cancan update

This commit is contained in:
Aung Myo
2017-11-30 11:19:15 +06:30
parent 67db27e35a
commit 7ce71a1960
6 changed files with 26 additions and 9 deletions

View File

@@ -65,12 +65,14 @@
</ul>
</li>
<% end %>
<li>
<% if can? :menage, Inventory %>
<!-- <li>
<a href="<%= inventory_path %>">
<i class="material-icons">store</i>
<span><%= t :inventory %></span>
</a>
</li>
</li> -->
<%end%>
<li>
<a href="javascript:void(0);" class="menu-toggle">
<i class="material-icons">widgets</i>