Topic: no routes match

Hello all,

I followed the tutorial on ror here:

http://www.tutorialspoint.com/ruby-on-r … -views.htm

now when I try the url:

http://0.0.0.0:3000/question/list

I have the following error on my browser:

Routing Error

No route matches

FYI, I didn't edit the routes.rb file, since the tutorial doesn't talk about editing it.

And I have indeed a class called "question.rb" in my model folder, and "question_controller.rb" with a "list" method defined.

What is missing?

Thanks.

Last edited by Lotfus (2010-12-07 17:04:18)

Re: no routes match

The problem is solved, I had to uncomment the follwing line in routes.rb:

match ':controller(/:action(/:id(.:format)))'