remove `.ect` suffix when call `res.render()` or in template `include` and `extend` #54

Merged
merged 3 commits into from Apr 5, 2014

Conversation

Projects
None yet
4 participants
@Wyntau
Contributor

Wyntau commented Jan 26, 2014

when set view engine to ect, and engine app with ectRenderer.render.
we can remove the .ect suffix when call res.render(), just like using default view engine ejs and jade.
and remove .ect suffix in template include and extend

@davo11122

This comment has been minimized.

Show comment Hide comment
@davo11122

davo11122 Feb 13, 2014

+1

+1

@nguyenning

This comment has been minimized.

Show comment Hide comment
@nguyenning

nguyenning Apr 5, 2014

This is a great PR.

This is a great PR.

baryshev added a commit that referenced this pull request Apr 5, 2014

Merge pull request #54 from Jeremial/master
Remove `.ect` suffix when call `res.render()` or in template `include` and `extend`

@baryshev baryshev merged commit b378bdf into baryshev:master Apr 5, 2014

@baryshev

This comment has been minimized.

Show comment Hide comment
@baryshev

baryshev Apr 5, 2014

Owner

Thank you for PR.

Owner

baryshev commented Apr 5, 2014

Thank you for PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment