2013-07-09 21:46:04 +02:00
|
|
|
#encoding: utf-8
|
|
|
|
class StockChangesController < ApplicationController
|
|
|
|
before_filter :find_stock_article
|
|
|
|
|
|
|
|
def index
|
2013-07-11 18:20:24 +02:00
|
|
|
@stock_changes = @stock_article.stock_changes.order('stock_changes.created_at DESC').each {|s| s.readonly!}
|
2013-07-09 21:46:04 +02:00
|
|
|
end
|
|
|
|
end
|