This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into improve_coverage_ngx
- Loading branch information
Showing
16 changed files
with
550 additions
and
197 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ sudo: required | |
dist: trusty | ||
language: node_js | ||
addons: | ||
apt: | ||
packages: | ||
- dpkg | ||
chrome: stable | ||
|
||
node_js: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
import { AuthComponent } from './auth.component'; | ||
import { LoginComponent } from './login/login.component'; | ||
import { ResetPasswordComponent } from './reset-password/reset-password.component'; | ||
import { ResetPasswordConfirmComponent } from './reset-password-confirm/reset-password-confirm.component'; | ||
import { SignupComponent } from './signup/signup.component'; | ||
import { VerifyEmailComponent } from './verify-email/verify-email.component'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: 'auth', | ||
component: AuthComponent, | ||
children: [ | ||
{path: '', redirectTo: 'login', pathMatch: 'full'}, | ||
{path: 'login', component: LoginComponent}, | ||
{path: 'reset-password', component: ResetPasswordComponent}, | ||
{path: 'reset-password/confirm/:user_id/:reset_token', component: ResetPasswordConfirmComponent}, | ||
{path: 'signup', component: SignupComponent}, | ||
{path: 'verify-email/:token', component: VerifyEmailComponent}, | ||
{path: '**', redirectTo: 'login'} | ||
] | ||
}, | ||
]; | ||
@NgModule({ | ||
imports: [ RouterModule.forChild(routes)], | ||
exports: [RouterModule] | ||
}) | ||
export class AuthRoutingModule {} |
Oops, something went wrong.