-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Move synchronization to its own module (#25)
- Loading branch information
1 parent
4ac75bf
commit c6e3660
Showing
9 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import {SynchronizeLemmyComponent} from "./pages/synchronize-lemmy/synchronize-lemmy.component"; | ||
import {RouterModule, Routes} from "@angular/router"; | ||
import {Guards} from "../guards/guards"; | ||
import {ReactiveFormsModule} from "@angular/forms"; | ||
import {SharedModule} from "../shared/shared.module"; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: 'lemmy', | ||
component: SynchronizeLemmyComponent, | ||
canActivate: [Guards.isLoggedIn()] | ||
}, | ||
]; | ||
|
||
@NgModule({ | ||
declarations: [ | ||
SynchronizeLemmyComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
RouterModule.forChild(routes), | ||
ReactiveFormsModule, | ||
SharedModule, | ||
] | ||
}) | ||
export class SynchronizationModule { } |