Oops.
This commit is contained in:
parent
10c6211cdf
commit
d50f4fdd7a
|
@ -18,7 +18,8 @@ export default Em.Mixin.create({
|
||||||
|
|
||||||
calculateUploadUrl() {
|
calculateUploadUrl() {
|
||||||
return (
|
return (
|
||||||
+".json?client_id=" +
|
getUrl(this.getWithDefault("uploadUrl", "/uploads")) +
|
||||||
|
".json?client_id=" +
|
||||||
(this.messageBus && this.messageBus.clientId) +
|
(this.messageBus && this.messageBus.clientId) +
|
||||||
"&authenticity_token=" +
|
"&authenticity_token=" +
|
||||||
encodeURIComponent(Discourse.Session.currentProp("csrfToken"))
|
encodeURIComponent(Discourse.Session.currentProp("csrfToken"))
|
||||||
|
|
Loading…
Reference in New Issue