|
|
@ -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('/') |
|
|
|
|
|
|
|