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