Change to apply page to had object_auth

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-05-14 12:40:50 +08:00
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