403 for unauth apps

This commit is contained in:
Matthew K. Fu JuYuan 2012-04-26 16:45:46 +08:00 committed by Christophe Vilayphiou
parent c4db7e2157
commit 6b151b1fb6
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ class OrbitBackendController< ApplicationController
def check_user_can_use
unless check_permission
redirect_to polymorphic_path(['panel',@app_title,'back_end','public'])
#redirect_to polymorphic_path(['panel',@app_title,'back_end','public'])
render :text => '403 Forbidden'
end
end