import Ember from 'ember';

export default Ember.Route.extend({
  title: function(tokens) {
    var base = 'My Blog';
    var hasTokens = tokens && tokens.length;

    return hasTokens ? tokens.reverse().join(' - ') + ' - ' + base : base;
  }
});

import Ember from 'ember';

export default Ember.Route.extend({
  title: function(tokens) {
    tokens = Ember.makeArray(tokens);
    tokens.unshift('My Blog');
    return tokens.reverse().join(' - ');
  }
});

Update test code to match README example
Update test code to match README example
