Fixed suppliers module.

This commit is contained in:
benni 2011-05-18 15:52:06 +02:00
parent 772cf87c92
commit 0b1682af7c
9 changed files with 56 additions and 87 deletions

View file

@ -3,7 +3,7 @@ class SuppliersController < ApplicationController
helper :deliveries
def index
@suppliers = Supplier.without_deleted :order => 'name'
@suppliers = Supplier.order(:name)
@deliveries = Delivery.recent
end