This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Yeah, it was supposed to be #create?
master
Eugen Rochko
6 years ago
committed by
GitHub
parent
7745a22ec7
commit
4d81809f36
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/invites_controller.rb
+ 1
- 1
app/controllers/invites_controller.rb
View File
@ -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
Loading…
Cancel
Save