RippleTransaction = require("../models/ripple_transaction");
var async = require("async");

module.exports = (function(){
  function userIndex(req, res) {
    req.user.balances(function(err, balances) {
      res.send({ error: err, balances: balances });
    });
  } 

  return {
    userIndex: userIndex
  }
})();

RippleTransaction = require("../models/ripple_transaction");
var async = require("async");

module.exports = (function(){
  function index(req, res) {
    req.user.balances(function(err, balances) {
      res.send({ error: err, balances: balances });
    });
  } 

  return {
    index: index
  }
})();

Rename userIndex controller action to index.
[FEATURE] Rename userIndex controller action to index.
