mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
use onBeforeAction instead of onRun
This commit is contained in:
parent
49e92a35b4
commit
18b8576091
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ Meteor.startup( function (){
|
|||
|
||||
// Load Hooks
|
||||
|
||||
Router.onRun( function () {
|
||||
Router.onBeforeAction( function () {
|
||||
Session.set('categorySlug', null);
|
||||
|
||||
// if we're not on the search page itself, clear search query and field
|
||||
|
|
Loading…
Add table
Reference in a new issue