123456789101112131415161718
  1. import { Injectable } from '@angular/core';
  2. import { Resolve, ActivatedRouteSnapshot, RouterStateSnapshot, Route } from '@angular/router';
  3. import { JhiPaginationUtil, JhiResolvePagingParams } from 'ng-jhipster';
  4. import { AuditsComponent } from './audits.component';
  5. export const auditsRoute: Route = {
  6. path: 'audits',
  7. component: AuditsComponent,
  8. resolve: {
  9. pagingParams: JhiResolvePagingParams
  10. },
  11. data: {
  12. pageTitle: 'audits.title',
  13. defaultSort: 'auditEventDate,desc'
  14. }
  15. };