okay first run at making an API for railsgoat

This commit is contained in:
cktricky
2014-03-12 12:38:41 -04:00
parent c559bd5602
commit 932d2304f9
5 changed files with 40 additions and 1 deletions
@@ -0,0 +1,11 @@
class Api::V1::UsersController < ApplicationController
skip_before_filter :authenticated
respond_to :json
def index
respond_with ({:hi => :world})
end
end