Hi,
if i have to file on views. let say
views/accounts/index.html.erb
views/accounts/indehx.html.haml
how to make rails search for haml first then erb not the other way
around…
thanks
Hi,
if i have to file on views. let say
views/accounts/index.html.erb
views/accounts/indehx.html.haml
how to make rails search for haml first then erb not the other way
around…
thanks
On 3 November 2010 12:55, my [email protected] wrote:
Hi,
if i have to file on views. let say
views/accounts/index.html.erb
views/accounts/indehx.html.haml
Is that a typo? Are they both supposed to be index?
how to make rails search for haml first then erb not the other way
around…
Just delete the one you do not want. Why do you want to keep both of
them?
Colin
On Nov 3, 8:25pm, Colin L. [email protected] wrote:
yes sorry that is a typo. it should be
views/accounts/index.html.haml
how to make rails search for haml first then erb not the other way
around…Just delete the one you do not want. Why do you want to keep both of them?
Colin
I want to start translating all view template to haml, but i need all
other view to work.
when there is both file, i want the haml to be default without
deleting the erb
thanks
On 3 November 2010 14:12, my [email protected] wrote:
I want to start translating all view template to haml, but i need all
other view to work.
when there is both file, i want the haml to be default without
deleting the erb
Why do you want to no delete it? You have source control? you can
roll-back if you need to. Or if you are one of the crazy few who likes
to code without a seat belt on (no source code control…), then
rename the .erb to .erb.old
On Nov 3, 9:25pm, Michael P. [email protected] wrote:
Why do you want to no delete it? You have source control? you can
roll-back if you need to. Or if you are one of the crazy few who likes
to code without a seat belt on (no source code control…), then
rename the .erb to .erb.old
yes i have use git. Just thought that there is some options to make
haml as default template engine instead of erb
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs