fix page blank for 403 forbidden.

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-08-31 18:33:18 +08:00
1 parent 6b904a37ad
commit 26f99c296f
1 file changed
+2 -1
@@ -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