Rails Routes
Play
14:45 CC

Rails Routes

#328 Dec 19, 2021 pro
Routing in Rails is small but an important part of our applications. The Rails router recognizes URLs and dispatches them to a controller's action, or to a Rack application. It can also generate paths and URLs, avoiding the need to hardcode strings in your views.