Merge branch 'master' into glitch-soc/merge-upstream

This commit is contained in:
Thibaut Girka
2018-05-23 16:05:19 +02:00
21 changed files with 295 additions and 70 deletions

View File

@ -9,7 +9,7 @@ class InvitesController < ApplicationController
before_action :set_pack
def index
authorize :invite, :index?
authorize :invite, :create?
@invites = invites
@invite = Invite.new(expires_in: 1.day.to_i)