fix for 403 for new interface

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

View File

@ -62,7 +62,7 @@ class Admin::ObjectAuthsNewInterfaceController < OrbitBackendController
def check_if_user_can_do_object_auth
unless check_permission(:manager)
render :nothing => true, :status => 403
redirect_to '/'
end
end