User prference system basically done
This commit is contained in:
parent
331cf6b068
commit
2e44f9ccf3
3 changed files with 78 additions and 0 deletions
|
@ -41,6 +41,8 @@ ActionController::Routing::Routes.draw do |map|
|
|||
map.connect "api/#{API_VERSION}/nodes/search", :controller => 'search', :action => 'search_nodes'
|
||||
|
||||
map.connect "api/#{API_VERSION}/user/details", :controller => 'user', :action => 'api_details'
|
||||
map.connect "api/#{API_VERSION}/user/preferences", :controller => 'user_preference', :action => 'read', :conditions => { :method => :get }
|
||||
map.connect "api/#{API_VERSION}/user/preferences", :controller => 'user_preference', :action => 'update', :conditions => { :method => :put }
|
||||
map.connect "api/#{API_VERSION}/user/gpx_files", :controller => 'user', :action => 'api_gpx_files'
|
||||
|
||||
map.connect "api/#{API_VERSION}/gpx/create", :controller => 'trace', :action => 'api_create'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue