2
0

Add Account#unavailable? and Account#permanently_unavailable? aliases (#28053)

This commit is contained in:
Claire
2023-11-30 16:43:26 +01:00
committed by GitHub
parent 35deaaf90b
commit 963354978a
25 changed files with 57 additions and 58 deletions

View File

@@ -18,6 +18,6 @@ class Settings::BaseController < ApplicationController
end
def require_not_suspended!
forbidden if current_account.suspended?
forbidden if current_account.unavailable?
end
end