@extends('layouts.app') @section('content') @php function formatPath($path) { return str_replace(['/', ' '], ['-', ''], $path); } @endphp