mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00: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;
|
||||
}),
|
||||
|
||||
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…
Add table
Reference in a new issue