codehappy/blog-tutorial-code — pull request #1 by adamjspooner (2013-04-07 17:26:22+00:00)
Title: Refactor tutorial to use controllers and have a more RESTful structure

Dayle,

I read Code Happy today and went through The Blog Tutorial chapter. First off, great work on the book. It was a fantastic introduction to Laravel.

I made a few improvements to the blog tutorial that I'd love to see incorporated into the book. I moved the logic out of the routes and into controllers. I also followed a RESTful approach to the actions and naming of views. I realize this is no small change which would require the rewriting of a few of the sections within the tutorial chapter. Regardless, I think it's important to keep best practices in tutorials. I know future readers would appreciate it. Also, it further shows the power of Laravel (grouped routes!).

Thanks,
Adam