| Module | Mack::Assets |
| In: |
lib/mack/assets/asset_helpers.rb
lib/mack/assets/assets_mgr.rb |
# File lib/mack/assets/asset_helpers.rb, line 4 4: def get_resource_root(resource) 5: path = "" 6: path = Mack::Assets::Helpers.instance.asset_hosts(resource) if path.empty? 7: path = "#{configatron.mack.distributed.site_domain}" unless !path.empty? or configatron.mack.distributed.site_domain.nil? 8: return path 9: end