- post "gpx/create" => "traces#api_create"
- get "gpx/:id" => "traces#api_read", :id => /\d+/
- put "gpx/:id" => "traces#api_update", :id => /\d+/
- delete "gpx/:id" => "traces#api_delete", :id => /\d+/
- get "gpx/:id/details" => "traces#api_read", :id => /\d+/
- get "gpx/:id/data" => "traces#api_data"
+ post "gpx/create" => "api/traces#create"
+ get "gpx/:id" => "api/traces#show", :id => /\d+/
+ put "gpx/:id" => "api/traces#update", :id => /\d+/
+ delete "gpx/:id" => "api/traces#destroy", :id => /\d+/
+ get "gpx/:id/details" => "api/traces#show", :id => /\d+/
+ get "gpx/:id/data" => "api/traces#data"