[Nitro] Problems with templates

Michael Neumann mneumann at ntecs.de
Fri Aug 5 08:09:15 EDT 2005


Hi,

I've a controller mounted as /main:

class MainController < Nitro::Controller
   def index
     # render_template 'templates/this_or_that_template'
   end
end

I'd like to render a template from within an action. How can I achieve 
that, without need of a special directory layout?

Regards,

   Michael




More information about the Nitro-general mailing list