소스 검색

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>