Forráskód Böngészése

book.read 加 library前缀

visuddhinanda 10 hónapja
szülő
commit
01a42e0fa0

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

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

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

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