Commit cc30106a authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Jan Provaznik

Fix the URL generation for feature flags

parent 963d26e9
...@@ -50,7 +50,7 @@ module Atlassian ...@@ -50,7 +50,7 @@ module Atlassian
# edit path as an interim solution. # edit path as an interim solution.
def summary(strategies = flag.strategies) def summary(strategies = flag.strategies)
{ {
url: project_url(flag.project) + "/-/feature_flags/#{flag.id}/edit", url: edit_project_feature_flag_url(flag.project, flag),
lastUpdated: flag.updated_at.iso8601, lastUpdated: flag.updated_at.iso8601,
status: { status: {
enabled: flag.active, enabled: flag.active,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment