Quellcode durchsuchen

Use config() instead of env()

Vijayakrishnan vor 3 Jahren
Ursprung
Commit
39af0d377b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      resources/views/app/patient/handouts-list.blade.php

+ 1 - 1
resources/views/app/patient/handouts-list.blade.php

@@ -38,7 +38,7 @@
         </thead>
         <tbody>
         @foreach($patient->handouts($note) as $handout)
-            <?php $downloadLink = env('APP_URL') . "/guest/handout/{$handout->handout_client_uid}"; ?>
+            <?php $downloadLink = config('app.url') . "/guest/handout/{$handout->handout_client_uid}"; ?>
             <tr>
                 <td>{{$handout->internal_name}}</td>
                 <td>{{$handout->display_name}}</td>