fix object auth without app_auth
This commit is contained in:
1 parent
d027cf8e6a
commit
6dfe10040b
6 files changed
+29
-14
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user