X-Git-Url: http://git.rot13.org/?p=angular-mojolicious.git;a=blobdiff_plain;f=public%2Fapp%2Fconference%2Fsymposiums.js;h=b89510e1da14c283a1d903ef341d3f53b4b52bcc;hp=7502e762a83b843ff5268c6a511a3a9854c7316f;hb=HEAD;hpb=4d82358d6579a2553f6d276c70b90563444bcc7f diff --git a/public/app/conference/symposiums.js b/public/app/conference/symposiums.js index 7502e76..b89510e 100644 --- a/public/app/conference/symposiums.js +++ b/public/app/conference/symposiums.js @@ -10,7 +10,7 @@ function Symposiums(xhr, route){ this.data = data; this.xhr("JSON" - , "http://localhost:5984/conference/_design/symposium/_view/work_nr%2Ctitle?callback=JSON_CALLBACK" + , "/"+database+"/_design/symposium/_view/work_nr%2Ctitle?callback=JSON_CALLBACK" , function(code, response){ console.log(code, response, data); data.response = response;