[Nitro] Problem with Nitro In Flames tutorial
rob
rob at motionpath.com
Fri Dec 23 10:12:28 EST 2005
Have you mapped the correct controller to the / path?
On 22 Dec 2005, at 22:14, Jos Backus wrote:
> Next problem: I added src/controller.rb per the tutorial and while
> trying to
> access http://host/items I see:
>
> E, [2005-12-22T14:11:18.255399 #25040] ERROR -- : Error while handling
> '/items'.
> E, [2005-12-22T14:11:18.255729 #25040] ERROR -- : No action to
> dispatch to on
> Nitro::Controller
> /usr/local/lib/ruby/gems/1.8/gems/nitro-0.26.0/lib/nitro/
> dispatcher.rb:202:in
> `dispatch'
>
> src/controller.rb looks like:
>
> class TodoController < Nitro::Controller
> scaffold TodoList
> scaffold Item
> end
>
> What am I missing?
>
> --
> Jos Backus
> jos at catnook.com
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
More information about the Nitro-general
mailing list