How to start a application from a controller

Hi, if you mean you want to go to

http://example.com/

*instead of*

http://example.com/index

then you need to edit config/routes.rb. Set this line to the
controller you want:

map.connect '', :controller => "go"

Hope that helps.

- James

Varsha Nachane wrote:

Alex, is there any way I can protect downloading my source code (or even
view HTML source on browser) because I don't have any content on my
index page.

That is a FAQ on HTML forums. There's no way to hide your HTML from the user, because once you send it over the wire, they own it, and they need it to be secure.

Your Ruby is naturally invisible!