Ruby on Rails Saturday, July 20, 2013

On Jul 20, 2013, at 8:34 PM, Pratik S. <lists@ruby-forum.com> wrote:

> I have Rails version 2.3.8.I am using Netbeans 6.9.1 as IDE. I want to
> redirect localhost:3000 to a specific page. i opened routes.rb file and
> uncommented the line
>
> map.root :controller => "Welcome"
> I created a controller named Welcome and a view named index. I also
> deleted the default index file as suggested in some of the
> websites.However, the page is not getting redirected to new index page.
> What is the problem??

Did you remove public/index.html?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/AE67288E-C24D-47A4-91FF-5BCE244EB5B1%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment