forked from saurabh/orbit4-5
Merge branch 'development' of gitlab.tp.rulingcom.com:saurabh/orbit4-5
This commit is contained in:
commit
4fd0e2d315
|
@ -22,10 +22,10 @@ module OrbitApp
|
||||||
end
|
end
|
||||||
|
|
||||||
def check_module_permissions
|
def check_module_permissions
|
||||||
store_token = Site.first.store_token
|
store_token = Site.first.store_token rescue nil
|
||||||
module_apps = ModuleApp.all
|
|
||||||
exceptions = OrbitStore::MODULE_EXCEPTIONS
|
|
||||||
if !store_token.nil?
|
if !store_token.nil?
|
||||||
|
module_apps = ModuleApp.all
|
||||||
|
exceptions = OrbitStore::MODULE_EXCEPTIONS
|
||||||
ids = []
|
ids = []
|
||||||
module_index = {}
|
module_index = {}
|
||||||
module_apps.each do |ma|
|
module_apps.each do |ma|
|
||||||
|
|
Loading…
Reference in New Issue