summaryrefslogtreecommitdiff
path: root/app/helpers/ci_variables_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/ci_variables_helper.rb')
-rw-r--r--app/helpers/ci_variables_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/ci_variables_helper.rb b/app/helpers/ci_variables_helper.rb
index 88ce311a1d4..5bfdeb9e33c 100644
--- a/app/helpers/ci_variables_helper.rb
+++ b/app/helpers/ci_variables_helper.rb
@@ -20,4 +20,11 @@ module CiVariablesHelper
true
end
end
+
+ def ci_variable_type_options
+ [
+ %w(Variable env_var),
+ %w(File file)
+ ]
+ end
end