consul

https://github.com/consul/consul

Ruby

Consul - Open Government and E-Participation Web Software

ActionDispatch::Routing::UrlFor#polymorphic_hierarchy_path

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:consul/consul.git

cd consul

open config/initializers/routes_hierarchy.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ActionDispatch--Routing--UrlFor-polymorphic_hierarchy_path-for-pr


# Commit to git

git add config/initializers/routes_hierarchy.rbgit commit -m "better docs for ActionDispatch::Routing::UrlFor#polymorphic_hierarchy_path"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-ActionDispatch--Routing--UrlFor-polymorphic_hierarchy_path-for-pr

hub pull-request


# Celebrate!