[Facebooker-talk] routes.rb definitions not working???
Mike Mangino
mmangino at elevatedrails.com
Thu Apr 3 18:29:44 EDT 2008
Can you explain what you are trying to do? map.resource :gifts does in
fact work, as does map.root :controller=>"wishlists"
What error do you see?
Mike
On Apr 3, 2008, at 5:09 PM, Marco Tully wrote:
> 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
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
--
Mike Mangino
http://www.elevatedrails.com
More information about the Facebooker-talk
mailing list