\n \n\n\n\n\n","// Houses common functionality about all assets\n\nexport function assetPath(asset) {\n switch (asset.type) {\n case 'AssetList':\n return `/app/asset_lists/${asset.id}`\n case 'RenderableTestimonial':\n return `/app/testimonials/${asset.id}`\n case 'MatrixxChart':\n return `/app/matrixx_charts/${asset.id}`\n case 'CustomerSpotlight':\n return `/app/customer_spotlights/${asset.id}`\n case 'VideoLinkAsset':\n return `/app/video_link_assets/${asset.id}`\n case 'FileAsset':\n return `/app/file_assets/${asset.id}`\n case 'CaseStudy':\n return `/app/case_studies/${asset.id}`\n default:\n return `/app/content_assets/${asset.id}`\n }\n}\n","\n \n\n\n","\n \n \n \n \n \n \n \n \n\n\n\n","\n