Railsters: The wave of the future, for view file names, is *.html.erb , with the target type on the left and the templating system on the right. Right? Or is *.erb.html also optional? We are looking at a template system that seems to register both extensions. Should it do that? Is that optional? One of them doesn't seem to work! -- Phlip http://www.oreilly.com/catalog/9780596510657/ ^ assert_xpath http://tinyurl.com/yrc77g <-- assert_latest Model
on 2007-07-31 16:40
on 2007-07-31 16:48
On 8/1/07, Phlip <phlip2005@gmail.com> wrote: > > We are looking at a template system that seems to register both > extensions. Should it do that? Is that optional? > > One of them doesn't seem to work! > > -- > Phlip The general form of this should be name.format.template_engine format is the .html, xml, js, rss etc template_engine is erb, haml, builder etc HTH Daniel
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.