Quick Tip: Routes for a Non-Resourceful Rails Controller

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.

Read More