parent
9b650c5c8f
commit
ba7e57879e
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
angular.module('myApp.controllers', ['myApp.i18n'])
|
angular.module('myApp.controllers', ['myApp.i18n'])
|
||||||
|
|
||||||
.controller('AppWelcomeController', function ($scope, $location, MtpApiManager, ErrorService, ChangelogNotifyService, LayoutSwitchService) {
|
.controller('AppWelcomeController', function ($scope, $location, MtpApiManager, ChangelogNotifyService, LayoutSwitchService) {
|
||||||
MtpApiManager.getUserID().then(function (id) {
|
MtpApiManager.getUserID().then(function (id) {
|
||||||
if (id) {
|
if (id) {
|
||||||
$location.url('/im')
|
$location.url('/im')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user