mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Fixed URL for composer /education paths
This commit is contained in:
parent
4cb4843323
commit
c88c7538b6
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ Discourse.ComposerController = Discourse.Controller.extend({
|
|||
// If visible update the text
|
||||
var educationKey = this.get('content.creatingTopic') ? 'new-topic' : 'new-reply';
|
||||
var composerController = this;
|
||||
$.get("/education/" + educationKey).then(function(result) {
|
||||
$.get(Discourse.getURL("/education/") + educationKey).then(function(result) {
|
||||
composerController.set('educationContents', result);
|
||||
});
|
||||
}.observes('typedReply', 'content.creatingTopic', 'Discourse.currentUser.reply_count'),
|
||||
|
|
Loading…
Reference in a new issue