Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
harukin
mastodon
Commits
4d81809f
Unverified
Commit
4d81809f
authored
May 22, 2018
by
Eugen Rochko
Committed by
GitHub
May 22, 2018
Browse files
Yeah, it was supposed to be #create?
parent
7745a22e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/invites_controller.rb
View file @
4d81809f
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment