2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-08 12:06:51 +08:00

big hacks to get tests to pass

This commit is contained in:
Sam 2015-03-13 17:45:55 +11:00
parent 20ab1f97e4
commit 01fcc7503a
2 changed files with 14 additions and 0 deletions

View file

@ -55,6 +55,15 @@ export default function() {
return response({});
});
this.get('/javascripts/jquery.magnific-popup-min.js', function() {
return response({});
});
this.get('/highlight.js', function() {
return response({});
});
this.post('/session', function(request) {
var data = parsePostData(request.requestBody);