parent
7745a22ec7
commit
4d81809f36
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue