Hey all,
I have been searching everywhere with no luck and I am hoping someone here is able to point me in the correct direction. I have set-up a rails app using facebooker everything seems to work well except when i go to my app directly to log in. For example if i go to http://apps.facebook.com/mycoolapp it will ask me to log in, when I do it redirects me to http://mydomainforthisapp.com instead of http://apps.facebook.com/mycoolapp. My guess is that I am missing something vital in my routes but I am not sure since I have followed all the examples. Here is what my routes looks like:
ActionController::Routing::Routes.draw do |map| map.resources :play map.resources :invitations map.resources :friends map.resources :users do |users| users.resources :play end map.connect ':controller/:action/:id.:format' map.connect ':controller/:action/:id' end
Any ideas would be appreciated
Thanks in Advance.
Slan
|