Rails 3 Routing help

Posted by Rod Nelson on Stack Overflow See other posts from Stack Overflow or by Rod Nelson
Published on 2011-01-11T19:47:38Z Indexed on 2011/01/11 19:53 UTC
Read the original article Hit count: 166

Filed under:

OK i'm new to rails 3 and the new routing is driving me mad. I just a good example i was looking at the info on http://rizwanreza.com/2009/12/20/revamped-routes-in-rails-3 but it don't make sense to me. i need an example please!

I have my root down that's not hard.

I have Site as my controller and i have index help and about

then i have a second controller users with index and register

on the register page i have 3 text boxes and a submit when i hit submit i get

Routing Error

No route matches "/user/register"

if you need me to i will post my routes file

© Stack Overflow or respective owner

Related posts about ruby-on-rails3