loading category details on category browsing page

This commit is contained in:
Edin Dazdarevic
2015-02-07 12:30:10 +01:00
parent a642cb55eb
commit 0bb6bb5a49
4 changed files with 125 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
var AppDispatcher = require('../dispatcher/appDispatcher');
var CategoryConstants = require('../constants/categoryConstants');
var CategoryActions = {
loadCategoryDetails: function(categoryId) {
AppDispatcher.handleAction({
actionType : CategoryConstants.LOAD_CATEGORY_DETAILS,
categoryId: categoryId
});
}
};
module.exports = CategoryActions;