publicclass / express-partials

Express 3.x Layout & Partial support.
182 stars 146 forks source link

accomodated multiple 'views' roots in lookup #50

Open mralexgray opened 8 years ago

mralexgray commented 8 years ago

seems to fix issue #49

slaskis commented 8 years ago

Thanks, this looks great!

Do you think you could add a test case for this too?

mralexgray commented 8 years ago

hows that? it shoudl be reolving layouts in the multiple 'views' roots... but doesn't seem to be... oddly.. as that is working for me elsewhere... in the meantime, specyfying hte defaultLayout suffices. also, note the improved coffee-script utilization pattern... the docs deserve to be updated accordingly..