by category page

This commit is contained in:
Edin Dazdarevic
2015-02-04 06:51:49 +01:00
parent 67e31fe716
commit 6fc5969fe6
7 changed files with 105 additions and 11 deletions

View File

@@ -4,6 +4,12 @@ var ItemConstants = require('../constants/itemConstants');
// Define action methods
var ItemActions = {
loadByCategory: function(categoryId) {
AppDispatcher.handleAction({
actionType: ItemConstants.LOAD_BY_CATEGORY,
categoryId : categoryId
});
},
loadFrontPageItems: function() {
AppDispatcher.handleAction({