1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00
onion/js/actions/user_actions.js

19 lines
367 B
JavaScript
Raw Permalink Normal View History

'use strict';
import { altUser } from '../alt';
2015-05-20 16:19:40 +02:00
2015-05-20 16:44:45 +02:00
2015-05-20 16:19:40 +02:00
class UserActions {
constructor() {
this.generateActions(
'fetchCurrentUser',
'successFetchCurrentUser',
'logoutCurrentUser',
'successLogoutCurrentUser',
'errorCurrentUser'
2015-05-20 16:19:40 +02:00
);
}
}
2015-05-20 16:19:40 +02:00
export default altUser.createActions(UserActions);