Order invites by recent first (#8091)

Fix #8085
th-downstream
Eugen Rochko 6 years ago committed by nightpool
parent 3dc21c1ff6
commit 7d51186e8e

@ -38,7 +38,7 @@ class InvitesController < ApplicationController
private
def invites
Invite.where(user: current_user)
Invite.where(user: current_user).order(id: :desc)
end
def resource_params

Loading…
Cancel
Save