トップページのお惣菜表示量をお惣菜コーナー1ページ分にする

This commit is contained in:
shibafu 2020-02-20 22:08:55 +09:00
parent 12553321e1
commit 46ca276eab
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ SQL
->select('ejaculations.*') ->select('ejaculations.*')
->with('user', 'tags') ->with('user', 'tags')
->withLikes() ->withLikes()
->take(10) ->take(21)
->get(); ->get();
return view('home')->with(compact('informations', 'categories', 'globalEjaculationCounts', 'publicLinkedEjaculations')); return view('home')->with(compact('informations', 'categories', 'globalEjaculationCounts', 'publicLinkedEjaculations'));

View File

@ -60,7 +60,7 @@
</li> </li>
@endforeach @endforeach
<li class="list-group-item no-side-border text-right"> <li class="list-group-item no-side-border text-right">
<a href="{{ route('timeline.public') }}" class="stretched-link">もっと見る &raquo;</a> <a href="{{ route('timeline.public', ['page' => 2]) }}" class="stretched-link">もっと見る &raquo;</a>
</li> </li>
</ul> </ul>
@endif @endif