mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
parent
4f860ed5a3
commit
a4e6dd4dc0
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@ export default Ember.Controller.extend(SettingsMenuMixin, {
|
||||||
return placeholder;
|
return placeholder;
|
||||||
}),
|
}),
|
||||||
|
|
||||||
seoURL: Ember.computed('model.slug', function () {
|
seoURL: Ember.computed('model.slug', 'config.blogUrl', function () {
|
||||||
var blogUrl = this.get('config').blogUrl,
|
var blogUrl = this.get('config.blogUrl'),
|
||||||
seoSlug = this.get('model.slug') ? this.get('model.slug') : '',
|
seoSlug = this.get('model.slug') ? this.get('model.slug') : '',
|
||||||
seoURL = blogUrl + '/' + seoSlug;
|
seoURL = blogUrl + '/' + seoSlug;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue