{{ messages[0].message }}
Flashing errors to session
In the last video, using the awesome indicative, we were able to validate the user's input, and redirect the user if the data was not good for our database. Unfortunately, our user can't see the reason why the todo was not created. Let's improve our users' experience by displaying these messages in a nice way.
{{ comment.user.name }} {{ comment.created_at }}
{{ comment.likes.length }}
{{ childComment.user.name }} {{ childComment.created_at }}
{{ childComment.likes.length }}