blob: 6059f99fdf36189cc30fe8f1ada11acfcb030ffe [file] [log] [blame]
(function() {
'use strict';
angular
.module('xos.helpers')
.factory('NoHyperlinks', noHyperlinks);
function noHyperlinks() {
return {
request: function(request){
if(request.url.indexOf('.html') === -1){
request.url += '?no_hyperlinks=1';
}
return request;
}
};
}
})();