Files
sx-fc/app/controllers/inventory/inventory_controller.rb
2017-11-30 11:19:15 +06:30

7 lines
192 B
Ruby
Executable File

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