Order invites by recent first (#8091)

Fix #8085
remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Eugen Rochko 2018-07-28 23:15:17 +02:00 committed by nightpool
parent cc94b1d95a
commit 79a1f667c5
1 changed files with 1 additions and 1 deletions

View File

@ -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