replace url to route
This commit is contained in:
		@@ -10,7 +10,7 @@
 | 
			
		||||
                    <i class="fas fa-file-image display-3"></i>
 | 
			
		||||
                @else
 | 
			
		||||
                    <a href="#" class="avatar">
 | 
			
		||||
                        <img src="{{ url('uploads/' . $file->id) }}" alt="{{ $file->basename }}">
 | 
			
		||||
                        <img src="{{ route('uploads.get', $file->id) }}" alt="{{ $file->basename }}">
 | 
			
		||||
                    </a>
 | 
			
		||||
                @endif
 | 
			
		||||
            </div>
 | 
			
		||||
@@ -37,7 +37,7 @@
 | 
			
		||||
                    @endif
 | 
			
		||||
                @endpermission
 | 
			
		||||
 | 
			
		||||
                <a href="{{ url('uploads/' . $file->id . '/download') }}" type="button" class="btn btn-sm btn-info text-white header-button-top">
 | 
			
		||||
                <a href="{{ rotue('uploads.download', $file->id) }}" type="button" class="btn btn-sm btn-info text-white header-button-top">
 | 
			
		||||
                    <i class="fas fa-file-download"></i>
 | 
			
		||||
                </a>
 | 
			
		||||
            </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user