diff --git a/core/client/app/components/gh-blog-url.js b/core/client/app/components/gh-blog-url.js new file mode 100644 index 0000000000..381911e341 --- /dev/null +++ b/core/client/app/components/gh-blog-url.js @@ -0,0 +1,7 @@ +import Ember from 'ember'; + +var blogUrl = Ember.Component.extend({ + tagName: '' +}); + +export default blogUrl; diff --git a/core/client/app/helpers/gh-blog-url.js b/core/client/app/helpers/gh-blog-url.js deleted file mode 100644 index 3158b000e6..0000000000 --- a/core/client/app/helpers/gh-blog-url.js +++ /dev/null @@ -1,6 +0,0 @@ -import Ember from 'ember'; -var blogUrl = Ember.HTMLBars.makeBoundHelper(function () { - return Ember.String.htmlSafe(this.get('config.blogUrl')); -}); - -export default blogUrl; diff --git a/core/client/app/templates/components/gh-blog-url.hbs b/core/client/app/templates/components/gh-blog-url.hbs new file mode 100644 index 0000000000..457738f620 --- /dev/null +++ b/core/client/app/templates/components/gh-blog-url.hbs @@ -0,0 +1 @@ +{{{config.blogUrl}}} \ No newline at end of file