What could cause a layoutTemplate's helpers to be rerun?

I'm navigating between two routes that have the same layoutTemplate. By default, the layout helpers are not rerun:


However, in my app, they are – even a one-line helper that just calls console.log. Note that:

  • the layout's onRendered is not called again.
  • it only happens going from and to a single route, but not the others

What are the reasons why this could happen?


Taking this out of that single route fixed it!

data: ->
  code: @params.code

Replaced with Router.current().data()?.code in helpers & onRendered.

Need Your Help

SQL Server 2000: Why is this query w/ variables so slow vs w/o variables?

sql sql-server tsql sql-server-2000

I can't figure out why this query would be so slow with variables versus without them. I read some where that I need to enable "Dynamic Parameters" but I cannot find where to do this.

How to show a profile with link_to rails

ruby-on-rails email url dynamic hyperlink

In the last we generated a useful link for our mail.