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.

Thanks

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/7e966b8383f40cd9e754185ab91a89c3%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to