mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Yeah, it was supposed to be #create?
This commit is contained in:
parent
7745a22ec7
commit
4d81809f36
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class InvitesController < ApplicationController
|
||||||
before_action :authenticate_user!
|
before_action :authenticate_user!
|
||||||
|
|
||||||
def index
|
def index
|
||||||
authorize :invite, :index?
|
authorize :invite, :create?
|
||||||
|
|
||||||
@invites = invites
|
@invites = invites
|
||||||
@invite = Invite.new(expires_in: 1.day.to_i)
|
@invite = Invite.new(expires_in: 1.day.to_i)
|
||||||
|
|
Loading…
Reference in a new issue