mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-03-13 08:28:13 -04:00
Fallback to /ui if there is no lastUrl for omega-web.
This commit is contained in:
parent
54eaf96634
commit
045d852739
@ -37,7 +37,7 @@ angular.module('omega').config ($stateProvider, $urlRouterProvider,
|
||||
|
||||
$urlRouterProvider.otherwise ($injector, $location) ->
|
||||
if $location.path() == ''
|
||||
$injector.get('omegaTarget').lastUrl()
|
||||
$injector.get('omegaTarget').lastUrl() || '/ui'
|
||||
else
|
||||
'/ui'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user