Chapter 5. Using Controllers and Routes for URLs and APIs
In this chapter, we will cover:
Creating a basic controller
Creating a route using a closure
Creating a RESTful controller
Using advanced routing
Using a filter on the route
Using route groups
Building a RESTful API with routes
Using named routes
Using a subdomain in your route