Show error message to suspended user (#3281)

lolsob-rspec
Yamagishi Kazutoshi 2017-05-24 23:39:09 +09:00 committed by Eugen Rochko
parent 4c889085d2
commit 09f5091102
1 changed files with 1 additions and 1 deletions

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