Properly set legal urls

This commit is contained in:
Piotr Sarnacki 2015-02-24 13:06:01 +01:00
parent 758f26282a
commit 788e624646
2 changed files with 10 additions and 4 deletions

View File

@ -43,17 +43,17 @@
{{#if config.pagesEndpoint}}
<li class="menu legal">
<p class="handle">
<a {{bind-attr href="config.url_legal"}}>Legal</a>
<a {{bind-attr href="config.urls.legal"}}>Legal</a>
</p>
<ul>
<li>
<a {{bind-attr href="config.url_imprint"}}>Imprint</a>
<a {{bind-attr href="config.urls.imprint"}}>Imprint</a>
</li>
<li>
<a {{bind-attr href="config.url_security"}}>Security</a>
<a {{bind-attr href="config.urls.security"}}>Security</a>
</li>
<li>
<a {{bind-attr href="config.url_terms"}}>Terms</a>
<a {{bind-attr href="config.urls.terms"}}>Terms</a>
</li>
</ul>
</li>

View File

@ -49,6 +49,12 @@ module.exports = function(environment) {
caches: true
};
ENV.charmKey = 'gy5gx7dy6dh86hxzkz1wmtvupwvievu';
ENV.urls = {
legal: ENV.billingEndpoint + "/pages/legal",
imprint: ENV.billingEndpoint + "/pages/imprint",
security: ENV.billingEndpoint + "/pages/security",
terms: ENV.billingEndpoint + "/pages/terms"
}
}
}