sort user friend list in alphabetical order
This commit is contained in:
parent
8d816d69ed
commit
b8d8ca73fa
|
|
@ -1,3 +1,3 @@
|
|||
object @user.friends
|
||||
object @user.friends.order(:first_name, :last_name)
|
||||
|
||||
attributes :id, :first_name, :last_name, :name, :location, :city, :state, :country, :musician, :email, :online, :photo_url
|
||||
Loading…
Reference in New Issue