foodsoft/app/controllers/stock_changes_controller.rb
2013-07-09 21:46:04 +02:00

8 lines
239 B
Ruby

#encoding: utf-8
class StockChangesController < ApplicationController
before_filter :find_stock_article
def index
@stock_changes = @stock_article.stock_changes(:readonly => true).order('stock_changes.created_at DESC')
end
end