本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
abunchtell
/
mastodon
關注
1
收藏
0
複製
0
程式碼
問題
0
活動
瀏覽代碼
Show error message to suspended user (
#3281
)
master
Yamagishi Kazutoshi
7 年之前
committed by
Eugen Rochko
父節點
bbc3db8b20
當前提交
676ba50601
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/application_controller.rb
+ 1
- 1
app/controllers/application_controller.rb
查看文件
@@ -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…
取消
儲存