Browse Source

publisher -> studio

visuddhinanda 1 day ago
parent
commit
34b716e408
1 changed files with 3 additions and 3 deletions
  1. 3 3
      api-v13/resources/views/library/book/read.blade.php

+ 3 - 3
api-v13/resources/views/library/book/read.blade.php

@@ -163,9 +163,9 @@
                 <p>
                     <strong>{{ __('library.author') }}:</strong>
                     {{ $book['author'] }}
-                    @if(isset($book['publisher']))
-                    @ <a href="{{ route('blog.index', ['user' => $book['publisher']->username]) }}">
-                        {{ $book['publisher']->nickname }}
+                    @if(isset($book['studio']))
+                    @ <a href="{{ route('blog.index', ['user' => $book['studio']['studioName']]) }}">
+                        {{ $book['studio']['nickName'] }}
                     </a>
                     @endif
                 </p>