1602 / compound

MVC framework. Built on Node.JS. Works on server and browser.
http://compoundjs.com
1.6k stars 182 forks source link

Persist on template language when using generators. #558

Closed mohsen1 closed 11 years ago

mohsen1 commented 11 years ago

I used init to create the app with --tpl jade. Then when I used generators it used ejs for my views. If it's not be design please make template language persistent

emilianox commented 11 years ago

add: app.set ('view engine', 'jade') to enviroment.js

mohsen1 commented 11 years ago

Shouldn't init --tpl jade does that?

emilianox commented 11 years ago

@mohsen1 +1

1602 commented 11 years ago

Initially init --tpl jade was generated this code, but after moving to express 3.0, this setting become no longer necessary.