This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Show error message to suspended user (
#3281
)
closed-social-glitch-2
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