okay first run at making an API for railsgoat
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class Api::V1::UsersController < ApplicationController
|
||||
|
||||
skip_before_filter :authenticated
|
||||
|
||||
respond_to :json
|
||||
|
||||
def index
|
||||
respond_with ({:hi => :world})
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user