mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Merge pull request #1163 from shilman/fix-1161
Fixes #1161 - Template.layout `pageName` should be reactive as route changes
This commit is contained in:
commit
33a9f02f06
1 changed files with 3 additions and 2 deletions
|
@ -65,7 +65,8 @@ Template.layout.helpers({
|
|||
navLayout: function () {
|
||||
return Settings.get('navLayout', 'top-nav');
|
||||
},
|
||||
pageName : function(){
|
||||
pageName : function() {
|
||||
FlowRouter.watchPathChange();
|
||||
return FlowRouter.current().route.name;
|
||||
},
|
||||
extraCode: function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue