|
Based on your rest_resource.rb code, would you need your action urls to end with '_xml'
http://localhost:3000/blog/item_xml/1137975
and would you need to include the RestResource class in your controller or your environment.rb or application.rb:
class NewsController << ApplicationController
include RestResource
rest_resource :item
rest_resource :category
end
Thanks.
|