diff --git a/app/assets/javascripts/discourse/controllers/composer_controller.js b/app/assets/javascripts/discourse/controllers/composer_controller.js index 3afd89ba6..1bd395131 100644 --- a/app/assets/javascripts/discourse/controllers/composer_controller.js +++ b/app/assets/javascripts/discourse/controllers/composer_controller.js @@ -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'),