GET /prompts GET /prompts.xml
[Source]
# File app/controllers/admin/responses_controller.rb, line 4 4: def index 5: @responses = Response.find(:all) 6: 7: respond_to do |format| 8: format.html # index.html.erb 9: format.xml { render :xml => @responses } 10: end 11: end
GET /responses/1 GET /responses/1.xml
# File app/controllers/admin/responses_controller.rb, line 15 15: def show 16: @response = Response.find(params[:id]) 17: 18: respond_to do |format| 19: format.html # show.html.erb 20: format.xml { render :xml => @response } 21: end 22: end
[Validate]