Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Apr. 6th 2017

Let's Build A Forum with Laravel and TDD: A User Can Favorite Replies

Episode 18 Run Time 15:46

Download

It would be useful if authenticated users could have the ability to "favorite" any reply within a thread. Let's begin implementing that functionality now, by using polymorphic relations.

View the source code for this episode on GitHub.