Skip to content

Commit ad38d08

Browse files
committed
fix args passed to view.context()
1 parent 388e389 commit ad38d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugins/context.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports = function(app) {
6868
if (typeof view.context !== 'function') {
6969
view.context = View.context;
7070
}
71-
return utils.merge({}, this.cache.data, view.context(locals));
71+
return view.context(this.cache.data, locals);
7272
});
7373

7474
/**

0 commit comments

Comments
 (0)