Merge remote-tracking branch 'bennibu/rails3' into rails3
Conflicts: app/controllers/login_controller.rb app/models/message.rb app/views/sessions/new.html.haml
This commit is contained in:
commit
0bb080526a
7 changed files with 29 additions and 19 deletions
|
|
@ -7,7 +7,7 @@ class StockTakingsController < ApplicationController
|
|||
|
||||
def new
|
||||
@stock_taking = StockTaking.new
|
||||
StockArticle.all.each { |a| @stock_taking.stock_changes.build(:stock_article => a) }
|
||||
StockArticle.undeleted.each { |a| @stock_taking.stock_changes.build(:stock_article => a) }
|
||||
end
|
||||
|
||||
def create
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue