summaryrefslogtreecommitdiff
path: root/users/app/controllers/v1/users_controller.rb
blob: eda2fad4a3d2f03da9343b74f892f5d921a34f90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module V1
  class UsersController < ApplicationController

    skip_before_filter :verify_authenticity_token, :only => [:create]

    respond_to :json

    def create
      @user = User.create(params[:user])
      respond_with @user
    end
  end
end