{{ messages[0].message }}
Redirect user if authenticated
Right now, if a user is authenticated, and tries to visit the login or signup endpoints, they have access. Let's create a middleware that redirects the user if he is already authenticated.
{{ comment.user.name }} {{ comment.created_at }}
{{ comment.likes.length }}
{{ childComment.user.name }} {{ childComment.created_at }}
{{ childComment.likes.length }}