URL Routing

    In this example, we will create some routing for a RESTful resource called
    “posts”. Below we define mechanisms to view index, show, create, update,
    destroy, and edit posts.