FIX: Make it compatible with sub-folder installs
This commit is contained in:
parent
d2099479b2
commit
434605f03f
|
@ -133,9 +133,11 @@ function initialize(api) {
|
|||
api.modifyClass("model:topic", {
|
||||
@computed("assigned_to_user")
|
||||
assignedToUserPath(assignedToUser) {
|
||||
return this.siteSettings.assigns_user_url_path.replace(
|
||||
"{username}",
|
||||
Ember.get(assignedToUser, "username")
|
||||
return Discourse.getURL(
|
||||
this.siteSettings.assigns_user_url_path.replace(
|
||||
"{username}",
|
||||
assignedToUser.username
|
||||
)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -11,7 +11,7 @@ plugins:
|
|||
unassign_on_group_archive: false
|
||||
assigns_user_url_path:
|
||||
client: true
|
||||
default: "u/{username}/activity/assigned"
|
||||
default: "/u/{username}/activity/assigned"
|
||||
assign_mailer_enabled: false
|
||||
remind_assigns_frequency:
|
||||
client: true
|
||||
|
|
Loading…
Reference in New Issue