run custom jquery in ember route

Developer from somewhere

Needed to initialize some jquery elements in a route. This provided the answer:

export default Ember.Route.extend({
  actions: {
    didTransition() {
      Ember.run.next(this, 'initTooltip');
    }
  },
  initTooltip() {
    Ember.$('[data-toggle="tooltip"]').tooltip();
  }
});