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

@@ -1,5 +1,5 @@
class Inventory::InventoryController < BaseInventoryController
load_and_authorize_resource
def index
@products = InventoryDefinition.all.active.order('created_at desc')
end