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

book.read 加 library前缀

visuddhinanda преди 9 месеца
родител
ревизия
01a42e0fa0
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      api-v8/resources/views/blog/category.blade.php
  2. 1 1
      api-v8/resources/views/blog/index.blade.php

+ 1 - 1
api-v8/resources/views/blog/category.blade.php

@@ -33,7 +33,7 @@
 <section class="article-list--compact">
     @foreach ($posts as $post)
     <article>
-        <a href="{{ route('book.read', $post['uid']) }}">
+        <a href="{{ route('library.book.read', $post['uid']) }}">
             <div class="article-details">
                 <h2 class="article-title">{{ $post->title }}</h2>
                 <footer class="article-time">

+ 1 - 1
api-v8/resources/views/blog/index.blade.php

@@ -21,7 +21,7 @@
                 <div class="article-title-wrapper">
                     <h2 class="article-title">
                         <a
-                            href="{{ route('book.read', $post['uid']) }}">{{ $post->title }}</a>
+                            href="{{ route('library.book.read', $post['uid']) }}">{{ $post->title }}</a>
                     </h2>
 
                     <h3 class="article-subtitle">