From 446ad582318bc395f108afbec563faf2b1e90821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Wed, 29 Nov 2017 09:44:17 +0100 Subject: [PATCH] [26543] Re-add removed timeEntryEditPath [ci skip] --- app/views/timelog/_list.html.erb | 1 - .../app/components/common/path-helper/path-helper.service.ts | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb index 05f89b426e..8fb65a41d1 100644 --- a/app/views/timelog/_list.html.erb +++ b/app/views/timelog/_list.html.erb @@ -148,6 +148,5 @@ See doc/COPYRIGHT.rdoc for more details. - diff --git a/frontend/app/components/common/path-helper/path-helper.service.ts b/frontend/app/components/common/path-helper/path-helper.service.ts index b655a97eb3..9aa6669061 100644 --- a/frontend/app/components/common/path-helper/path-helper.service.ts +++ b/frontend/app/components/common/path-helper/path-helper.service.ts @@ -125,6 +125,10 @@ export class PathHelperService { return this.staticBase + '/time_entries/' + timeEntryIdentifier; } + public timeEntryEditPath(timeEntryIdentifier:string) { + return this.timeEntryPath(timeEntryIdentifier) + '/edit'; + } + public usersPath() { return this.staticBase + '/users'; }