compound icon indicating copy to clipboard operation
compound copied to clipboard

support views path normalize in render

Open lovejaco opened this issue 13 years ago • 1 comments

express support path nomailize

example. render('../list')

but compound does not .... after 1.14-14 so i suggest code in controller-extensions.js

convert var file = this.controllerName + '/' + view
to var file = path.normalize(this.controllerName + '/' + view);

lovejaco avatar Feb 12 '13 11:02 lovejaco

I hope it helps.

1602 avatar Feb 12 '13 12:02 1602