mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Merge pull request #5794 from novaugust/psm-blog-url
Add config.blogUrl key to PSM's seoURL property
This commit is contained in:
commit
92e2ab72ea
@ -149,8 +149,8 @@ export default Ember.Controller.extend(SettingsMenuMixin, {
|
||||
return placeholder;
|
||||
}),
|
||||
|
||||
seoURL: Ember.computed('model.slug', function () {
|
||||
var blogUrl = this.get('config').blogUrl,
|
||||
seoURL: Ember.computed('model.slug', 'config.blogUrl', function () {
|
||||
var blogUrl = this.get('config.blogUrl'),
|
||||
seoSlug = this.get('model.slug') ? this.get('model.slug') : '',
|
||||
seoURL = blogUrl + '/' + seoSlug;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user