diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-08-30 19:33:24 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-08-30 19:33:24 -0500 |
commit | cf37f0b173abacaef36660f1c9875f8fee8b78d8 (patch) | |
tree | 9b65bc7b21fe0d1dd8da7a3a00d2ed94071186a9 | |
parent | 68de5dcba28d83089fd563434ba9d1ba1d882b76 (diff) | |
download | gitlab-ce-cf37f0b173abacaef36660f1c9875f8fee8b78d8.tar.gz |
fix variable naming conflict31273-creating-an-project-within-an-internal-sub-group-gives-the-option-to-set-it-a-public
-rw-r--r-- | app/helpers/visibility_level_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/visibility_level_helper.rb b/app/helpers/visibility_level_helper.rb index 4b4f7c6a57a..46867d2d974 100644 --- a/app/helpers/visibility_level_helper.rb +++ b/app/helpers/visibility_level_helper.rb @@ -165,10 +165,10 @@ module VisibilityLevelHelper private def visibility_level_errors_for_group(group, level_name) - group = link_to group.name, group_path(group) + group_name = link_to group.name, group_path(group) change_visiblity = link_to 'change the visibility', edit_group_path(group) - { reason: "the visibility of #{group} is #{group.visibility}", + { reason: "the visibility of #{group_name} is #{group.visibility}", instruction: " To make this group #{level_name}, you must first #{change_visiblity} of the parent group." } end end |