15-09-2010, 07:44 PM
En utilisant les routes que tu as donné, j'ai :
Donc il y a toujours quelque chose que tu ne nous dis pas. :p
Sephi-Chan
root /(.:format) {:controller=>"pages", :action=>"home"}
signup /signup(.:format) {:controller=>"users", :action=>"new"}
signin /signin(.:format) {:controller=>"sessions", :action=>"new"}
signout /signout(.:format) {:controller=>"sessions", :action=>"destroy"}
sessions GET /sessions(.:format) {:action=>"index", :controller=>"sessions"}
sessions POST /sessions(.:format) {:action=>"create", :controller=>"sessions"}
new_session GET /sessions/new(.:format) {:action=>"new", :controller=>"sessions"}
edit_session GET /sessions/:id/edit(.:format) {:action=>"edit", :controller=>"sessions"}
session GET /sessions/:id(.:format) {:action=>"show", :controller=>"sessions"}
session PUT /sessions/:id(.:format) {:action=>"update", :controller=>"sessions"}
session DELETE /sessions/:id(.:format) {:action=>"destroy", :controller=>"sessions"}
users GET /users(.:format) {:action=>"index", :controller=>"users"}
users POST /users(.:format) {:action=>"create", :controller=>"users"}
new_user GET /users/new(.:format) {:action=>"new", :controller=>"users"}
edit_user GET /users/:id/edit(.:format) {:action=>"edit", :controller=>"users"}
user GET /users/:id(.:format) {:action=>"show", :controller=>"users"}
user PUT /users/:id(.:format) {:action=>"update", :controller=>"users"}
user DELETE /users/:id(.:format) {:action=>"destroy", :controller=>"users"}
news_index GET /news(.:format) {:action=>"index", :controller=>"news"}
news_index POST /news(.:format) {:action=>"create", :controller=>"news"}
new_news GET /news/new(.:format) {:action=>"new", :controller=>"news"}
edit_news GET /news/:id/edit(.:format) {:action=>"edit", :controller=>"news"}
news GET /news/:id(.:format) {:action=>"show", :controller=>"news"}
news PUT /news/:id(.:format) {:action=>"update", :controller=>"news"}
news DELETE /news/:id(.:format) {:action=>"destroy", :controller=>"news"}
comments GET /comments(.:format) {:action=>"index", :controller=>"comments"}
comments POST /comments(.:format) {:action=>"create", :controller=>"comments"}
new_comment GET /comments/new(.:format) {:action=>"new", :controller=>"comments"}
edit_comment GET /comments/:id/edit(.:format) {:action=>"edit", :controller=>"comments"}
comment GET /comments/:id(.:format) {:action=>"show", :controller=>"comments"}
comment PUT /comments/:id(.:format) {:action=>"update", :controller=>"comments"}
comment DELETE /comments/:id(.:format) {:action=>"destroy", :controller=>"comments"}
Donc il y a toujours quelque chose que tu ne nous dis pas. :p
Sephi-Chan