Merge pull request #328 from shikorism/fix/325-tune-public-tl

トップページのお惣菜表示量をお惣菜コーナー1ページ分にする
This commit is contained in:
shibafu 2020-02-22 10:10:30 +09:00 committed by GitHub
commit cb0af4113d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -60,7 +60,7 @@
</li>
@endforeach
<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>
</ul>
@endif