show us what happens when you run 

tail -f log/development.log 

in a console window while you hit the page in your browser






> On Nov 24, 2014, at 1:10 PM, Francisco Bereciartu <li...@ruby-forum.com> 
> wrote:
> 
> Hi All,
> 
> I'm new in the ruby on rails world. I would like to ask you about any
> advice according to this problem
> 
> I'm having problems with redirection, I have this line in the routes.rb
> 
> root :to => 'welcome#index', :as => 'home'
> 
> 
> in the app/controllers folder I have welcome_controller.rb
> 
> and in the views/welcome/index.html.erb file
> 
> but when I use http://my.domain.com/
> 
> I have the 404 page.
> 
> but if I use http://my.domain.com/login, it does work.

----

Jason Fleetwood-Boldt
t...@datatravels.com
http://www.jasonfleetwoodboldt.com/writing

All material © Jason Fleetwood-Boldt 2014. Public conversations may be turned 
into blog posts (original poster information will be made anonymous). Email 
ja...@datatravels.com with questions/concerns about this.

-- 
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+unsubscr...@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/D731CEA0-809B-4385-88D4-D42775E65075%40datatravels.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to