[Facebooker-talk] routes.rb definitions not working???

Marco Tully marcotully at gmail.com
Thu Apr 3 18:09:36 EDT 2008


Hello Eveyone,

I am new here, and am have no idea how to setup routes in the routes.rb file
while using fbml.  The regular

  map.resources :gifts
  map.resources :wishlists
  map.resources :invitations
  map.resources :comments

does not work.

This tutorial
http://rfacebook.wordpress.com/2008/02/04/quickstartfacebooker/

says to create a map.root, such as the one mentioned "map.root 'workshop'".
Other places mention adding

:conditions => {:canvas=>true,:method=>:gets}.


I have tried

map.root :controller => ="wishlists", :action => "index"

and it does not work.

And the other routes are not working either.  What is the correct way to
declare facebooker routes?

Cheers!!

Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20080403/c23fc793/attachment.html 


More information about the Facebooker-talk mailing list