diff --git a/app/models/customer.rb b/app/models/customer.rb index 660fa1c..cdfd6e0 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -26,7 +26,7 @@ class Customer < ActiveRecord::Base def all without_callback(:initialize, :after, :pull) do - Customer.all + Customer.all.sort end end