RubyOnRails: url_for application root

Viewed 32361

i know that doing

url_for(:only_path => false, :controller => 'home')

I will get, for example, http://localhost/home

But how do i handle to genereate http://localhost

4 Answers
Related