zordius/fluxex

View on GitHub
examples/01-history-api/actions/server.js

Summary

Maintainability
A
0 mins
Test Coverage
var other_actions = require('./sample');

var server_actions = {
    samplePage: function (req) {
        return this.dispatch('UPDATE_URL', req.url).then(function () {
            return this.executeAction(other_actions.updateProductPage);
        }.bind(this));
    }
};

module.exports = server_actions;