Fix new page form
Redirect to home when not authorized Get only module_apps with app_pages for new and edit page Change web_resource.json
This commit is contained in:
1 parent
01d0c002f5
commit
e40c76bf5f
4 files changed
+4
-5
No files matched your search
@@ -23,7 +23,7 @@ class OrbitBackendController< ApplicationController
|
||||
def check_user_can_use
|
||||
unless check_permission
|
||||
#redirect_to polymorphic_path(['panel',@app_title,'back_end','public'])
|
||||
render :text => '403 Forbidden'
|
||||
redirect_to root_url
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user