Hi,

I configured my home path in routes.rb yet when I load the root url
the home path doesnt get loaded automatically. My routes.rb is as

ActionController::Routing::Routes.draw do |map|

  map.home "", :controller => "homz", :action => "aboutviridian"
  map.featuresorganization "featuresorganization", :controller =>
"feature", :action => "organization"
  map.featuresmembers "featuresmembers", :controller =>
"feature", :action => "membership"
  map.featureswork "featureswork", :controller => "feature", :action
=> "work"
  map.featuressearchengine "featuressearchengine", :controller =>
"feature", :action => "searchengine"

  map.resources :feature
  map.resources :homz

  map.connect ':controller/:action'
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
end

Note.. the moment I change
  map.home "", :controller => "homz", :action => "aboutviridian"
to
  map.home "home", :controller => "homz", :action => "aboutviridian"
and do localhost:3000/home.. it works

Can someone please help?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to