joyent-portal/frontend/src/state/actions.js
2016-10-20 10:58:19 +01:00

14 lines
294 B
JavaScript

const constantCase = require('constant-case');
const ReduxActions = require('redux-actions');
const {
createAction
} = ReduxActions;
const APP = constantCase(process.env['APP_NAME']);
module.exports = {
...require('./thunks'),
updateRouter: createAction(`${APP}/APP/UPDATE_ROUTER`)
};