search for: register_engin

Displaying 1 result from an estimated 1 matches for "register_engin".

Did you mean: register_engine
2007 Aug 29
11
Non-Erubis Templates
...andlers other than Erubis are not loaded automatically (Haml, XMLBuilder). Either this should be fixed, or the documentation should be updated to instruct people how to use non-Erb template engines. Apparently the solution is to do something like this in merb_init.rb: ::Merb::AbstractController.register_engine ::Merb::Template::Haml, %w[ haml ] So the question is: * Is this the permanent situation for the future? * Can I update the docs to reflect this requirement? Geoffrey Grosenbach http://peepcode.com