diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-07-28 16:28:05 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-07-28 16:28:05 +0200 |
commit | bca3825c17dd2087f826d9269bb80537bd4ff395 (patch) | |
tree | 51043b99ec56d263f9d126091afb923292a9e301 /app/controllers | |
parent | 91da921dbb51f55bc926c3997ae558d735292a67 (diff) | |
parent | cfb2ed78231758a79af038a964ab7f7b7b35274e (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers')
-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 52cddc404..639002964 100644 --- a/app/controllers/invites_controller.rb +++ b/app/controllers/invites_controller.rb @@ -44,7 +44,7 @@ class InvitesController < ApplicationController end def invites - Invite.where(user: current_user).order(id: :desc) + current_user.invites.order(id: :desc) end def resource_params |