mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: ensure URLs include subfolder in admin emails UI
This commit is contained in:
@@ -11,6 +11,10 @@ EmailLog.reopenClass({
|
||||
attrs.user = AdminUser.create(attrs.user);
|
||||
}
|
||||
|
||||
if (attrs.post_url) {
|
||||
attrs.post_url = Discourse.getURL(attrs.post_url);
|
||||
}
|
||||
|
||||
return this._super(attrs);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user