Changeset [54ac24db692f2313ee1c18d0cc953535dccc3a57] by Ville Koivula
March 3rd, 2009 @ 10:09 AM
Added nitrogen:get_templateroot/0. You can now have for example {templateroot, ./priv/templates} in your .app -file. This separates templates from files that are served as is as I don't think anyone needs to see what templates have eaten. You specify template with #template { file=template.html} and it's read from the directory you set with environment variable. If not set it defaults to ./wwwroot http://github.com/rklophaus/nitr...
Committed by Ville Koivula
- M src/elements/layout/element_template.erl
- M src/nitrogen.erl
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Nitrogen Web Framework for Erlang