mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
8ae5e65462
fixes #3724 - provide config.url to the ember client app via a data attribute - create server and client side helpers to output the URL - wire up the client side helper - add a class for testing, and add tests for both the server and client side
6 lines
162 B
JavaScript
6 lines
162 B
JavaScript
var blogUrl = Ember.Handlebars.makeBoundHelper(function () {
|
|
|
|
return new Ember.Handlebars.SafeString(this.get('config.blogUrl'));
|
|
});
|
|
|
|
export default blogUrl; |