Преглед на файлове

Use config() instead of env()

Vijayakrishnan преди 3 години
родител
ревизия
39af0d377b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>