mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
24 lines
742 B
TypeScript
24 lines
742 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { AuthenticatedGuard } from '../core/auth/authenticated.guard';
|
|
import { ThemedSubmissionEditComponent } from '../submission/edit/themed-submission-edit.component';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forChild([
|
|
{ path: '', redirectTo: '/home', pathMatch: 'full' },
|
|
{
|
|
canActivate: [AuthenticatedGuard],
|
|
path: ':id/edit',
|
|
component: ThemedSubmissionEditComponent,
|
|
data: { title: 'submission.edit.title' }
|
|
}
|
|
])
|
|
]
|
|
})
|
|
/**
|
|
* This module defines the default component to load when navigating to the workspaceitems edit page path
|
|
*/
|
|
export class WorkspaceitemsEditPageRoutingModule { }
|