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
Show error message to suspended user (
#3281
)
master
Yamagishi Kazutoshi
7 years ago
committed by
Eugen Rochko
parent
bbc3db8b20
commit
676ba50601
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/application_controller.rb
+ 1
- 1
app/controllers/application_controller.rb
View File
@ -39,7 +39,7 @@ class ApplicationController < ActionController::Base
end
def
check_suspension
head
403
if
current_user
.
account
.
suspended?
forbidden
if
current_user
.
account
.
suspended?
end
protected
Write
Preview
Loading…
Cancel
Save