fix object auth without app_auth

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-10-16 14:23:44 +08:00
1 parent d027cf8e6a
commit 6dfe10040b
6 files changed
+29 -14

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ module OrbitCoreLib
authed_users(title).include?(User.current)
end
def app_auth
def module_app
ModuleApp.first(conditions: {:title => self.class::APP_NAME} )
end