ok so I have a website for example: www.mywebsite.com as of now with no routing(if thisi s what you have to use) to get to my app I have to go to: www.mywebsite.com/my_controller/blablabla I will like to make it so if someone goes to www.mywebsite.com it gets my app. Sorry Im very new I barelly was able to finish my first application. thanks., --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Patrick Doyle
2008-Mar-19 11:42 UTC
Re: routes? how do I make it so I don''t have a path..
Check out map.root (http://api.rubyonrails.org/classes/ActionController/Routing.html, also, look for it in the comments in your routes.rb file). --wpd --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 19, 12:42 am, rek2 <r...-zTjyZANo7oz3ktU1ABlop6HonnlKzd3f@public.gmane.org> wrote:> ok so I have a website for example:www.mywebsite.com > as of now with no routing(if thisi s what you have to use) > to get to my app I have to go to:www.mywebsite.com/my_controller/blablabla > > I will like to make it so if someone goes towww.mywebsite.comit gets my app. > > Sorry Im very new I barelly was able to finish my first application. > > thanks.,What version of Rails are you using? If it''s 1.2 or higher, use map.root. Jeff --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---