Eugen Rochko
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/controllers/invites_controller.rb
|
|
@ -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) |
|
|
|