Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JHipster - Change default page to some entity page

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?

like image 805
Eduardo Flores Avatar asked Sep 21 '25 09:09

Eduardo Flores


1 Answers

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' 
    };
like image 136
Eduardo Flores Avatar answered Sep 23 '25 01:09

Eduardo Flores