Check against current url_rule instead of matching a path with a regex

This commit is contained in:
Patrick Smith
2018-08-21 14:54:56 -04:00
parent 0631b69503
commit 92e1036e8a
2 changed files with 7 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
<div class='block-list project-list-item'>
<header class='block-list__header'>
<h2 class='block-list__title'>{{ project['name'] }} ({{ project['environments']|length }} environments)</h2>
<a class='icon-link' href='/workspaces/123456/projects/789/edit'>
<a class='icon-link' href=''>
{{ Icon('edit') }}
<span>edit</span>
</a>