Showing
2 changed files
with
13 additions
and
11 deletions
@@ -40,16 +40,18 @@ const processPublicData = (req, title, page) => { | @@ -40,16 +40,18 @@ const processPublicData = (req, title, page) => { | ||
40 | let channel = req.query.channel || req.cookies._Channel || 'boys'; | 40 | let channel = req.query.channel || req.cookies._Channel || 'boys'; |
41 | let headerData = headerModel.setNavHeader(title, channel); | 41 | let headerData = headerModel.setNavHeader(title, channel); |
42 | 42 | ||
43 | - return data = { | ||
44 | - channel: channel, | ||
45 | - renderData: { | ||
46 | - module: 'product', | ||
47 | - page: page, | ||
48 | - title: title, | ||
49 | - pageHeader: headerData, | ||
50 | - pageFooter: true | ||
51 | - } | ||
52 | - }; | 43 | + data = { |
44 | + channel: channel, | ||
45 | + renderData: { | ||
46 | + module: 'product', | ||
47 | + page: page, | ||
48 | + title: title, | ||
49 | + pageHeader: headerData, | ||
50 | + pageFooter: true | ||
51 | + } | ||
52 | + }; | ||
53 | + | ||
54 | + return data; | ||
53 | }; | 55 | }; |
54 | 56 | ||
55 | /** | 57 | /** |
-
Please register or login to post a comment