fix page blank for 403 forbidden.

This commit is contained in:
Matthew K. Fu JuYuan 2012-08-31 18:33:18 +08:00
parent 6b904a37ad
commit 26f99c296f
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ private
def check_if_user_can_do_object_auth
unless check_permission(:manager)
render :nothing => true, :status => 403
#render :nothing => true, :status => 403
redirect_to '/'
end
end
end