routes in rails 3 .. basic routes issue

Posted by piemesons on Stack Overflow See other posts from Stack Overflow or by piemesons
Published on 2010-04-29T06:17:41Z Indexed on 2010/04/29 6:27 UTC
Read the original article Hit count: 646

Filed under:
|
|
|

I m having a controller users in which there are three actions show, update and prepare and there respective views in views/users directory

Now when i am trying this:--

http://localhost:3000/users/prepare

I am getting an error

No route matches "/users/prepare"

can anybody explain me how to specify this routes in routes.rb for this.. I am a beginner for rails

  map.connect '/prepare', :controller => 'users', :action => 'prepare'

this is not working..

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rails