Skip to content

Commit

Permalink
users controller api v1
Browse files Browse the repository at this point in the history
  • Loading branch information
dceballos committed Nov 22, 2013
1 parent 0a862ab commit 4ff062f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 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
1 change: 1 addition & 0 deletions config/routes.rb
Expand Up @@ -166,6 +166,7 @@


namespace :api do namespace :api do
namespace :v1 do namespace :v1 do
resources :users
resources :purchase_orders do resources :purchase_orders do
collection do collection do
get 'search' get 'search'
Expand Down

0 comments on commit 4ff062f

Please sign in to comment.