diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-07-28 23:15:17 +0200 |
---|---|---|
committer | nightpool <eg1290@gmail.com> | 2018-07-28 17:15:17 -0400 |
commit | 79a1f667c5388ea025b2c160c029191d14e4cfc5 (patch) | |
tree | 6754a369cd7659515fcb2d3b3225f11176abc037 | |
parent | cc94b1d95a7baba4435010ca4e5d7f3425140275 (diff) |
Order invites by recent first (#8091)
Fix #8085
-rw-r--r-- | app/controllers/invites_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/invites_controller.rb b/app/controllers/invites_controller.rb index 5c30313f4..3aaa2776f 100644 --- a/app/controllers/invites_controller.rb +++ b/app/controllers/invites_controller.rb @@ -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 |