This repository has been archived on 2023-08-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
FoodLoop-Web/src/app/pages/404.component.ts
2017-09-19 11:05:21 +01:00

16 lines
277 B
TypeScript

import { Component } from '@angular/core';
import { Location } from '@angular/common';
@Component({
templateUrl: '404.component.html'
})
export class P404Component {
constructor(
private location: Location,
) { }
goBack(): void {
this.location.back();
}
}