[CST-4875] Created feedback route, created feedback form, created service & guard, utilzed when user is logged in, unit testing and lint check

This commit is contained in:
Rezart Vata
2021-12-09 12:33:53 +01:00
parent 46d340a5ce
commit f74716a459
26 changed files with 521 additions and 33 deletions

View File

@@ -2,6 +2,7 @@ import { getInfoModulePath } from '../app-routing-paths';
export const END_USER_AGREEMENT_PATH = 'end-user-agreement';
export const PRIVACY_PATH = 'privacy';
export const FEEDBACK_PATH = 'feedback';
export function getEndUserAgreementPath() {
return getSubPath(END_USER_AGREEMENT_PATH);
@@ -11,6 +12,10 @@ export function getPrivacyPath() {
return getSubPath(PRIVACY_PATH);
}
export function getFeedbackPath() {
return getSubPath(FEEDBACK_PATH);
}
function getSubPath(path: string) {
return `${getInfoModulePath()}/${path}`;
}