foodsoft/app/controllers/stockit_controller.rb
Benjamin Meichsner c17b63b192 Second part of stock-integration.
Introduced StockArticle and a special page for ordering from stock. StockChanges will be created and the StockArticle.quantity
updated in 'order.close!'.
2009-02-06 16:26:35 +01:00

6 lines
104 B
Ruby

class StockitController < ApplicationController
def index
@articles = StockArticle.all
end
end