Skip to content
Browse files

users controller api v1

  • Loading branch information...
1 parent 0a862ab commit 4ff062f16344c95cda7acaeebe11b44f5dbe68d9 @cactusapp cactusapp committed Nov 21, 2013
Showing with 8 additions and 0 deletions.
  1. +7 −0 app/controllers/api/v1/users_controller.rb
  2. +1 −0 config/routes.rb
View
7 app/controllers/api/v1/users_controller.rb
@@ -0,0 +1,7 @@
+class Api::V1::UsersController < ApplicationController
+ respond_to :json
+
+ def index
+ render :nothing => true, :status => :ok
+ end
+end
View
1 config/routes.rb
@@ -166,6 +166,7 @@
namespace :api do
namespace :v1 do
+ resources :users
resources :purchase_orders do
collection do
get 'search'

0 comments on commit 4ff062f

Please sign in to comment.
Something went wrong with that request. Please try again.