Skip to content

Instantly share code, notes, and snippets.

@adamgamble
Created June 27, 2011 00:14
Show Gist options
  • Save adamgamble/1048117 to your computer and use it in GitHub Desktop.
Save adamgamble/1048117 to your computer and use it in GitHub Desktop.
class Api::V1::ProspectsController < Api::V1::BaseController
respond_to :json, :xml
def show
@prospect = Prospect.find(params[:id])
respond_with @prospect
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment