J'ai eu cette voie dans mon rails2.x apprails3 + problème de routage
map.with_options(:controller => "web_page") do |site|
site.connect "*url", :action => "index"
end
qui a dirigé chaque espace de noms après ma racine à un contrôleur appelé « web_page » et à une action appelée « index »
ex: si un type I http://localhost:3000/products il va http://localhost:3000/web_pages/index
si un type I http://localhost:3000/services encore il va http://localhost:3000/web_pages/index
Mais comment puis-je faire en routes rails3
pls aident
merci à l'avance
acclamations
Sameera
Salut Sinetris, cela a beaucoup fonctionné – sameera207