forked from treehouse/mastodon
parent
cc94b1d95a
commit
79a1f667c5
|
@ -38,7 +38,7 @@ class InvitesController < ApplicationController
|
||||||
private
|
private
|
||||||
|
|
||||||
def invites
|
def invites
|
||||||
Invite.where(user: current_user)
|
Invite.where(user: current_user).order(id: :desc)
|
||||||
end
|
end
|
||||||
|
|
||||||
def resource_params
|
def resource_params
|
||||||
|
|
Loading…
Reference in New Issue