Reputation: 61
I'm trying to create a small application with jhipster and now i'm trying to change the default landing page (/) to a specific entity page.
There's a way to do this?
Upvotes: 4
Views: 1496
Reputation: 61
I have changed the default home.route.ts to this, and achivied the expected result.
Thanks for the attention
import { Route } from '@angular/router';
import { UserRouteAccessService } from '../shared';
import { HomeComponent } from './';
export const HOME_ROUTE: Route = {
path: '', redirectTo: 'pessoas', pathMatch: 'full'
};
Upvotes: 2