List Info

Thread: Template path resolution in Nitro 0.50




Template path resolution in Nitro 0.50
country flaguser name
United States
2007-03-23 20:03:20
If I add a method 'foo' to a controller in Nitro 0.50.0 and
a file 
"public/foo.html", then the uri "/foo"
results in "public/foo.html" 
being delivered.

If I replace foo.html with foo.xhtml for foo.htmlx then
nothing is served.

How to I get Nitro 0.50.0 to process .xhtml templates?

require
"#{File.dirpath/../../script/glycerin'
require 'nitro'
class Hello
   def foo
   end
end

public/foo.html:

<html>Foo!!</html>

_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )