diff --git a/src/app/core/models/poll.model.ts b/src/app/core/models/poll.model.ts
index 4a797788..3324b3f5 100644
--- a/src/app/core/models/poll.model.ts
+++ b/src/app/core/models/poll.model.ts
@@ -64,10 +64,11 @@ export class Poll {
constructor(public owner: Owner = new Owner(), public title = 'mon titre', public custom_url: string = '') {}
public getAdministrationUrl(): string {
- return `${environment.api.baseHref}/administration/polls/${this.custom_url}`;
+ return `${environment.frontDomain}/poll/admin/${this.admin_key}`;
}
public getParticipationUrl(): string {
- return `${environment.api.baseHref}/participation/polls/${this.custom_url}`;
+ // TODO handle pass access
+ return `${environment.frontDomain}/poll/${this.custom_url}/consultation`;
}
}
diff --git a/src/app/features/administration/form/base-config/base-config.component.html b/src/app/features/administration/form/base-config/base-config.component.html
index 262ed155..d1884a65 100644
--- a/src/app/features/administration/form/base-config/base-config.component.html
+++ b/src/app/features/administration/form/base-config/base-config.component.html
@@ -26,8 +26,7 @@
>
-
-
+