compound icon indicating copy to clipboard operation
compound copied to clipboard

[suggest] need a shared views folder

Open lovejaco opened this issue 13 years ago • 1 comments

railway style views .folder 1 .folder 2 .some view files // shared views it is possible to load any controllers

but compound is not

lovejaco avatar Dec 28 '12 17:12 lovejaco

It depends on view engine now. Compound just load view from controller views directory by default, but you can go upper level inside controller action:

render('../shared/view');

or in view (dependes on view engine):

<% inclide ../shared/view %>

Is it works for you?

1602 avatar Jan 05 '13 15:01 1602