rails
https://github.com/rails/rails
Ruby
Ruby on Rails
ActionDispatch::Routing::UrlFor#route_for
:nodoc:
Edit
git clone [email protected]:rails/rails.git
cd rails
open actionpack/lib/action_dispatch/routing/url_for.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActionDispatch--Routing--UrlFor-route_for-for-pr
# Commit to gitgit add actionpack/lib/action_dispatch/routing/url_for.rbgit commit -m "better docs for ActionDispatch::Routing::UrlFor#route_for"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActionDispatch--Routing--UrlFor-route_for-for-pr
hub pull-request
# Celebrate!