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
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment