1
Mon routes.rb
a les 2 lignes suivantes:Questions sur les routes Rails3 de base?
match "/", :to => "main#index"
match "main/index", :to => "main#index"
Lorsque je tape localhost:3000/main/index
dans un navigateur, je vois la page appropriée (views/main/index.html.erb
).
Cependant, si je tape juste localhost:3000
, je vois public/index.html
(je m'attends à voir également views/main/index.html.erb
).
Qu'est-ce qui me manque?
Super, merci! –