Merge branch 'development' of gitlab.tp.rulingcom.com:saurabh/orbit4-5

This commit is contained in:
harrybomrah committed 2015-01-12 12:20:52 +05:30
commit 4fd0e2d315
1 file changed
+3 -3
+3 -3
View File
@@ -22,10 +22,10 @@ module OrbitApp
end
def check_module_permissions
store_token = Site.first.store_token
module_apps = ModuleApp.all
exceptions = OrbitStore::MODULE_EXCEPTIONS
store_token = Site.first.store_token rescue nil
if !store_token.nil?
module_apps = ModuleApp.all
exceptions = OrbitStore::MODULE_EXCEPTIONS
ids = []
module_index = {}
module_apps.each do |ma|