So here is what I have:
def index
@profiles = Profile.all
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @profiles }
format.json { render :json => @profiles }
end
end
I would like to add rss, atom and possibly some custom ones such as one that returns the image for the profile.