Routes? how do I make it so I don't have a path

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.,

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

On Mar 19, 12:42 am, rek2 [email protected] 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