Hi, you can do one of the following:
a) respond_to block
e.g. def product
respond_to do | format |
format.html
format.js { render :action => "project.rjs" }
format.xml
end
end
Note: This will
return the appropriate response based on the HTTP Accept header.
b) render :action => “product.rjs”
Good luck,
-Conrad