Explorar o código

Use config() instead of env()

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
39af0d377b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>