Skip to content

Conversation

@hinathan
Copy link

I have a complex views layout so I end up specifying partial views directly for mixins - this helps there, no harm otherwise.

@slaskis
Copy link
Member

slaskis commented Sep 11, 2012

Looks good! And I know it's a small change but would you be able to provide a test?

@hinathan
Copy link
Author

Hi, making a test required more changes than I'd prefer for such a small library delta. Particularly swapping app.locals -> res.locals is needed for the way express now deals with 'local' functions, they don't seem to get picked up from 'global locals' if that makes sense.

@slaskis
Copy link
Member

slaskis commented Oct 24, 2012

I think the locals "swap" you mentioned in your last comment is taken care of by e7829e8. Can you confirm?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants