Calculating Paginated Reply Paths

Written by Laracasts - - Aggregated on Monday March 12, 2018

When we call the path method on a Reply instance, it doesn't take into account the fact that all replies are paginated. This means all reply paths will send you to page one, rather than the page that you'll find the actual reply. We can't have this. Let's figure out how to calculate the full URL, based on the specified pagination settings. Homework: There's one problem with our completed example. Do you see what it is? Leave a comment below if you find it. In the following episode, we'll address the issue together.

« Animating Elements Along SVG Paths: … - - Falcon Heavy & Starman »