diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-11-02 10:38:17 +1300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-02 10:40:56 +1300 |
commit | 2c6a3f6a1a90fb4eb780e081a6673fd2e90c7dc1 (patch) | |
tree | ad043bd526b2ba71bcba7038a91f71763f581dfd /app/helpers | |
parent | 3e7d48317353b8e0ffb066643eb4ced2e9455aec (diff) | |
download | gitlab-ce-2c6a3f6a1a90fb4eb780e081a6673fd2e90c7dc1.tar.gz |
Remove method as using nested resource routes
We introduced hidden_clusterable_fields in this MR but it is no longer
needed as we have gone back to nested resource routes which should
provide the params such as `project_id`.
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/clusters_helper.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/clusters_helper.rb b/app/helpers/clusters_helper.rb index 94042a2f560..916dcb1a308 100644 --- a/app/helpers/clusters_helper.rb +++ b/app/helpers/clusters_helper.rb @@ -14,10 +14,4 @@ module ClustersHelper render 'clusters/clusters/gcp_signup_offer_banner' end end - - def hidden_clusterable_fields - clusterable.clusterable_params.map do |key, value| - hidden_field_tag(key, value) - end.reduce(&:safe_concat) - end end |