Back to the Learning

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.

Refactoring to Form Requests

Episode 55 Run Time 12:03

The RepliesController method that handles the submission of a new reply still feels a bit bloated to me. In this episode, we'll refactor it down to a single method call.

View the source code for this episode on GitHub.

Publish Date: July 5, 2017