Rails 3 - routing
Posted
by akam
on Stack Overflow
See other posts from Stack Overflow
or by akam
Published on 2010-06-02T11:47:04Z
Indexed on
2010/06/03
9:24 UTC
Read the original article
Hit count: 166
routing
|ruby-on-rails3
I don't know how to make a link_to because I'dont have a nouveau_message_path in rake routes
rake routes :
GET /nouveau_message/.:id {:action=>"nouveau_message", :controller=>"messages"}
routes.rb :
controller :messages do
get 'nouveau_message/.:id' => :nouveau_message
end
What is the best way to make a link_to to nouveau_message from another view ?
Thanks
© Stack Overflow or respective owner