You mean setting your routes so that you can tell Rails where your homepage is at when you preview using localhost?
In rails 3, do something like this: # Home Page Route root :to => "site#home" # Site Routes match '/', :to => "site#home" So when you go to http://localhost:3000, rails will route to your homepage. On Jul 20, 3:03 pm, Jan Kadera <[email protected]> wrote: > Hey guys, > it'll be kinda silly question, but I was working for two years on my > bachelor's thesis using RoR...but I have never found out, how to do that > when I type in the browser the address and port, there will be a homepage > shown...is there some easy way? > > Thanks in advance > Jan Kadera -- 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.

