Challenge 1: Generate and List Routes — Solution # config/routes.rb Rails.application.routes.draw do resources :articles end Expected routes (from `rails routes -c articles`): Verb Path Controller#Action GET /articles articles#index POST /articles articles#create GET /articles/new articles#new GET /articles/:id/edit articles#edit GET /articles/:id articles#show PATCH /articles/:id articles#update PUT /articles/:id articles#update DELETE /articles/:id articles#destroy =begin Notes: - index (list all) and create (make a new one) share the same path, /articles, distinguished only by HTTP verb (GET vs POST). - show, update, and destroy all share /articles/:id, again distinguished by verb (GET, PATCH/PUT, and DELETE respectively). - new and edit are the two "form" routes — new shows a blank form to create a resource, edit shows a pre-filled form to modify an existing one, both rendering a view rather than performing the actual database change themselves (create and update do that part). - PATCH and PUT both map to the same update action — Rails accepts either verb for updates, with PATCH being the more semantically correct choice for partial updates. =end