{{ messages[0].message }}
Refactoring route files to route groups
Our routes file has some duplication. What if we could group these routes together to remove the duplication ? Let's see how that goes.
{{ comment.user.name }} {{ comment.created_at }}
{{ comment.likes.length }}
{{ childComment.user.name }} {{ childComment.created_at }}
{{ childComment.likes.length }}