[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

RoR index controller?

Wizumwalt@gmail.com

4/8/2006 4:22:00 AM

Do most people make a controller called Index or ... how do you have a
default page when you hit a website? Where's this done in rails?
1 Answer

Dave Burt

4/8/2006 7:59:00 AM

0

William Z. wrote:
> Do most people make a controller called Index or ... how do you have a
> default page when you hit a website? Where's this done in rails?

First, please direct Rails questions to the Rails list. You'll usually
get better help there than here.

http://www.google.com.au/search?q=rails+ma...

Secondly, you're looking for config/routes.rb. Reading the comments will
probably tell you all you want to know. You can check out the Routing
manual for more info.

http://manuals.rubyonrails.com/read/...

Cheers,
Dave