Removed search on 404 & 500 replaced with page return

This commit is contained in:
piratefinn 2017-05-11 16:38:19 +01:00
parent b888fb0193
commit fd810c1279
4 changed files with 20 additions and 14 deletions

View file

@ -1,10 +1,17 @@
import { Component } from '@angular/core';
import { Location } from '@angular/common';
@Component({
templateUrl: '500.component.html'
})
export class P500Component {
constructor() { }
constructor(
private location: Location
) {
}
}
goBack(): void {
this.location.back();
}
}