i'm using HAML within Sinatra.

normally i would do something like
get /foo do
  haml :foobar
end

and views/foobar.haml would get expanded inside the expansion of 
views/layout.haml

what i want to do is inside either foobar.haml or layout.haml is generate 
the HAML
input with Ruby code, rather than writing it to a static file. how do i get 
haml to reprocess
what that code produces?

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haml+unsubscr...@googlegroups.com.
To post to this group, send email to haml@googlegroups.com.
Visit this group at http://groups.google.com/group/haml.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to