Show error message to suspended user (#3281)

th-downstream
Yamagishi Kazutoshi 7 years ago committed by Eugen Rochko
parent 4c889085d2
commit 09f5091102

@ -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

Loading…
Cancel
Save