diff --git a/config/routes.rb b/config/routes.rb index b9e5edb3d7..60c5e0a489 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 diff --git a/spec/acceptance/api/columns_spec.rb b/spec/acceptance/api/columns_spec.rb index b7ff6a71d8..92a69b8c4f 100644 --- a/spec/acceptance/api/columns_spec.rb +++ b/spec/acceptance/api/columns_spec.rb @@ -96,5 +96,4 @@ feature "API 1.0 columns management" do response.status.should be_success end end - end \ No newline at end of file diff --git a/spec/acceptance/api/users_spec.rb b/spec/acceptance/api/users_spec.rb new file mode 100644 index 0000000000..e69de29bb2