Finished Feedback form code to working and added routing

This commit is contained in:
piratefinn 2017-09-01 15:02:05 +01:00
parent 506e3b36da
commit 95653e2a11
6 changed files with 28 additions and 31 deletions

View file

@ -10,6 +10,7 @@ import { DashboardCustomerComponent } from './dashboard-customer.component';
import { FullLayoutComponent } from '../layouts/full-layout.component';
import { AccountEditComponent } from './account-edit.component';
import { AddDataComponent } from './add-data.component';
import { FeedbackComponent } from './feedback.component';
// Using child path to allow for FullLayout theming
const routes: Routes = [
@ -40,6 +41,11 @@ const routes: Routes = [
path: 'add-data',
component: AddDataComponent,
data: { title: 'Add Transaction' },
},
{
path: 'feedback',
component: FeedbackComponent,
data: { title: 'Give Feedback' },
}
],
}