Jacob Yong wrote: > Hello, > Not sure if anyone can help me here. I have a page which I want to > make it the index page. > > The page is http://www.myweb.com:3000/bin/myindex.mxml. > > Yes, you can probably tell it's a Adobe Flex component - myindex.mxml. > I'm combining Flex and RubyOnRails. > > My question is: Is there a way to make that the default page to > display when people browse to http://www.myweb.com:3000/. > > Apreciate if anyone could help. > > Regards, > Jay
Define a default route in routes.rb ie map.root '/bin/myindex.mxml' ..at least, thats how you would define a default controller/action as the root, so I think it will probably apply to a static resource. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

