[Nitro] Controller not being picked up by dispatcher

George Moschovitis george.moschovitis at gmail.com
Tue Aug 2 04:56:41 EDT 2005


First of all, you should update to the latest version of Nitro 0.21.2
Then I would suggest that you have a look at the intialization code in

examples/blog/run.rb

Uou should probably add something like:

Server.map = {
  '/book' => BookController,
  '/api' => ApiController
  ..
}
Nitro.run

If you still have problems let me know!

-g.
-- 
http://www.nitrohq.com




More information about the Nitro-general mailing list