Commit 120d5812 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Corrige captura de ruta actual con parámetros

parent 2ee2cee6
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -276,10 +276,9 @@ define([

			var locationObj = getGlobalContext().location,
				locationPath = locationObj.pathname,
				moduleUrl = locationPath.substr(1),
				urlSplitted = moduleUrl.split('?'),
				route = urlSplitted[0],
				query = urlSplitted[1],
				locationQuery = locationObj.search,
				route = locationPath.substr(1),
				query = locationQuery.substr(1),
				routeIsEmpty = !route || route === '' || route === this.paths.ROOT,
				loginWasSuccessful = route === this.paths.LOGIN && this._userFound;