by category page
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user