diff --git a/app/controllers/suppliers_controller.rb b/app/controllers/suppliers_controller.rb index 3c4a6872..2fb20d20 100644 --- a/app/controllers/suppliers_controller.rb +++ b/app/controllers/suppliers_controller.rb @@ -61,7 +61,7 @@ class SuppliersController < ApplicationController # gives a list with all available shared_suppliers def shared_suppliers - @shared_suppliers = SharedSupplier.find(:all) + @shared_suppliers = SharedSupplier.all end end