openstreetmap-website
https://github.com/openstreetmap/openstreetmap-website
Ruby
The Rails application that powers OpenStreetMap
TraceController#list
Counts and selects pages of GPX traces for various criteria (by user, tags, public etc.). target_user - if set, specifies the user to fetch traces for. if not set will fetch all traces
Edit
git clone [email protected]:openstreetmap/openstreetmap-website.git
cd openstreetmap-website
open app/controllers/trace_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-TraceController-list-for-pr
# Commit to gitgit add app/controllers/trace_controller.rbgit commit -m "better docs for TraceController#list"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-TraceController-list-for-pr
hub pull-request
# Celebrate!