Commit e9f82ea4dafb80e5d77f5656c828280f6c490325

Authored by Leandro Santos
2 parents 254b194f 149cf6c3
Exists in staging

Merge branch 'master' into staging

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
src/app/main/main.component.ts
@@ -110,6 +110,11 @@ export class EnvironmentContent { @@ -110,6 +110,11 @@ export class EnvironmentContent {
110 component: MainContentComponent, 110 component: MainContentComponent,
111 abstract: true, 111 abstract: true,
112 name: 'main', 112 name: 'main',
  113 + resolve: {
  114 + currentUser: function(AuthService: AuthService) {
  115 + return AuthService.loginFromCookie();
  116 + }
  117 + }
113 }, 118 },
114 { 119 {
115 url: '/', 120 url: '/',