Change to apply page to had object_auth
This commit is contained in:
1 parent
f0dd1eb871
commit
9ba4c2cf2f
15 files changed
+95
-11
No files matched your search
@@ -10,6 +10,7 @@ class OrbitBackendController< ApplicationController
|
||||
|
||||
def setup_vars
|
||||
@app_title = request.fullpath.split('/')[2]
|
||||
@app_title = request.fullpath.split('/')[1] if(@app_title == "back_end")
|
||||
@module_app = ModuleApp.first(conditions: {:key => @app_title} )
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user