added user controller to json api

2.0
Simon Tokumine 12 years ago
parent fb1da64a99
commit 5b4b485fb9

@ -34,7 +34,7 @@ CartoDB::Application.routes.draw do
scope "/api" do
namespace CartoDB::API::VERSION_1, :format => :json, :module => "api/json" do
get '/column_types' => 'meta#column_types'
get '/column_types' => 'meta#column_types'
get '/tables' => 'tables#index'
post '/tables' => 'tables#create'
get '/tables/tags/:tag_name' => 'tables#index'
@ -70,6 +70,8 @@ CartoDB::Application.routes.draw do
resources :uploads, :only => :create
resources :imports, :only => [:create, :show, :index]
# Dashboard
resources :users, :only => [:show]
end
end
end

@ -96,5 +96,4 @@ feature "API 1.0 columns management" do
response.status.should be_success
end
end
end
Loading…
Cancel
Save