onion/js/actions/user_actions.js

19 lines
359 B
JavaScript
Raw Normal View History

'use strict';
import { alt } 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 alt.createActions(UserActions);