put items into links - because of the SEO
This commit is contained in:
@@ -53,8 +53,13 @@ var NavigationStore = _.extend({}, EventEmitter.prototype, {
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
getUrlForItem: function(item) {
|
||||
return '/artikal/' + item.get('id') +'/' + Globals.Slugify(item.get('name'))
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -84,4 +89,4 @@ NavigationStore.dispatchToken = AppDispatcher.register(function(payload) {
|
||||
|
||||
});
|
||||
|
||||
module.exports = NavigationStore;
|
||||
module.exports = NavigationStore;
|
||||
|
||||
Reference in New Issue
Block a user