code: function(obj) {
        if (typeof obj.controller === 'undefined' || typeof obj.action === 'undefined') {
          var error = new Error('You must define a controller and action to redirect to.').stack;
          throw error;
        }
  
        return '/' + obj.controller + '/' + obj.action;
      }
docs: returns the relative path from an object, the object is
  expected to look like the following
  
  example:
  {
  controller: 'foo',
  action: 'bar'
  }
  
  @param  {Object} obj the redirect object
  @return {String}     the relative path
  @api private