diff options
Diffstat (limited to 'app/helpers/environments_helper.rb')
-rw-r--r-- | app/helpers/environments_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/environments_helper.rb b/app/helpers/environments_helper.rb index 7c09c20d118..515e802e01e 100644 --- a/app/helpers/environments_helper.rb +++ b/app/helpers/environments_helper.rb @@ -1,7 +1,7 @@ module EnvironmentsHelper - def environments_list_data() + def environments_list_data { - endpoint: namespace_project_environments_path(@project.namespace, @project) + endpoint: namespace_project_environments_path(@project.namespace, @project, format: :json) } end end |