8 Posts in Rails
Let’s say you have a few routes that are all related, but don’t really map to the usual resources. For example, a login/logout controller named SessionsController doesn’t really fit the usual resourceful route model. Head past the break for all the details.
In the last post we set up the new car view. In the final post let’s add the ability to delete a car and wrap up this series.
In the last post, we set up a show and edit view. Let’s set up a view that allows for adding new cars.
In the last post, we set up the index view. Let’s set up a route that shows and saves a single car’s details.