mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
32d72d5daa
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; |