mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-10 20:26:16 -05:00
Yeah, it was supposed to be #create?
This commit is contained in:
@@ -8,7 +8,7 @@ class InvitesController < ApplicationController
|
||||
before_action :authenticate_user!
|
||||
|
||||
def index
|
||||
authorize :invite, :index?
|
||||
authorize :invite, :create?
|
||||
|
||||
@invites = invites
|
||||
@invite = Invite.new(expires_in: 1.day.to_i)
|
||||
|
||||
Reference in New Issue
Block a user