Userscript not working with baseurl

This commit is contained in:
Ruud
2012-01-29 20:38:45 +01:00
parent 2f154938d8
commit f35a68edd7
+1 -1
View File
@@ -192,7 +192,7 @@ var Route = new Class({
parse: function(){
var self = this;
var path = History.getPath().replace(App.getOption('base_url'), '/').replace(Api.getOption('url'), '/')
var path = History.getPath().replace(Api.getOption('url'), '/').replace(App.getOption('base_url'), '/')
var current = path.replace(/^\/+|\/+$/g, '')
var url = current.split('/')