summaryrefslogtreecommitdiff
path: root/app/helpers/environments_helper.rb
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-14 13:15:29 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-11-16 11:57:51 +0000
commit2c0f97cd1e99abdf7c80e2c79ed55b321bf5fb7b (patch)
treebe84794b07faff24161f0803b01708abbf3c170d /app/helpers/environments_helper.rb
parent235213dc68b7eeec8527347f7bc304d7765b4ff0 (diff)
downloadgitlab-ce-2c0f97cd1e99abdf7c80e2c79ed55b321bf5fb7b.tar.gz
Includes page specific JS
Diffstat (limited to 'app/helpers/environments_helper.rb')
-rw-r--r--app/helpers/environments_helper.rb7
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..d9a3106f706
--- /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)
+ }
+ end
+end \ No newline at end of file