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.
More from FoundryBase guides.rubyonrails.org
No comments yet. Be the first to comment!