Skip to content
Snippets Groups Projects
Unverified Commit 4d81809f authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Yeah, it was supposed to be #create?

parent 7745a22e
No related branches found
Tags v2.4.0
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment