title: How can I observe the current route name from the application controller in Ember 2.7.1?
body: <p>I've been doing this previously as follows:</p>
  
  <pre><code>pageDidChange: Ember.observer('currentPath', function() {
      this.set('pageClassName', this.get('currentPath').replace(/[.]/g, '-'));    
  }),
  </code></pre>
  
  <p>However this no longer works as the currentPath property seems to have disappeared. I also can't find any mention of it in the API docs on the EmberJS website.</p>
  
  <p>Should I now be doing this differently?</p>