This is what it says when i have this stupid error…
app/controllers/info_controller.rb:9: syntax error
this is what is inside of info_controller,
class InfoController < ApplicationController
def who_bought
@product = Product.find(params[:id])
@orders = @product.orders
respond_to do |accepts|
accepts.html
accepts.xml
end
end
if someone could please help me…
-/ James