Permalink
Browse files

Adds pageSlug

  • Loading branch information...
1 parent bf2e325 commit b55e329419cd6e5c5bec3dd2d65cbd6be3c7e8d8 @craveytrain committed Oct 23, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 models/page.js
View
@@ -16,7 +16,8 @@ module.exports = {
return extend({}, baseModel, data, {
content: content,
- body: body
+ body: body,
+ pageSlug: data.pageTaxonomy[data.pageTaxonomy.length - 1]
});
}
};

0 comments on commit b55e329

Please sign in to comment.