code: function(origin, path) {
      if (!path || path === "") { return undefined; }
      var r = path.split('.'),
          ret = [];
  
      for (var i=0, len = r.length; i < len; i++) {
        var states = get(origin, 'states');
  
        if (!states) { return undefined; }
  
        var s = get(states, r[i]);
        if (s) { origin = s; ret.push(s); }
        else { return undefined; }
      }
  
      return ret;
    }
docs: @private
  
  A state stores its child states in its `states` hash.
  This code takes a path like `posts.show` and looks
  up `origin.states.posts.states.show`.
  
  It returns a list of all of the states from the
  origin, which is the list of states to call `enter`
  on.