SyntaxFix
Write A Post
Hire A Developer
Questions
You should be able to do something like this in your respond_to block:
respond_to
respond_to do |format| format.json render :partial => "users/show.json" end
which will render the template in app/views/users/_show.json.erb.
app/views/users/_show.json.erb