Routes seems hard for the first time, but don't worry, you will do
Usually works like this:
map.connect '/something/:id', :controller =>
'nameofcontroller', :action => 'whattodo'
When you press the link, and you get the message what you did, it
means you haven't worked out the routing which tells for the Rails app
where can find the result. Did you use scaffolding? Or made Rails app
It's also important to note: the order of the lines in the routes.rb
is important (at least it was important on Rails 2.3.X, I'm not sure
about Rails3 in this, haven't checked yet)
Feel free to write me on private if you have further problems with it!
ure on why routing to my view isn't working. controller appears to be