diff options
Diffstat (limited to 'app/helpers/learn_gitlab_helper.rb')
-rw-r--r-- | app/helpers/learn_gitlab_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/learn_gitlab_helper.rb b/app/helpers/learn_gitlab_helper.rb index 6330b8fc829..7dfd9ed47e3 100644 --- a/app/helpers/learn_gitlab_helper.rb +++ b/app/helpers/learn_gitlab_helper.rb @@ -33,8 +33,8 @@ module LearnGitlabHelper actor: current_user, sticky_to: project.namespace ) do |e| - e.use { urls_to_use = action_urls } - e.try { urls_to_use = new_action_urls(project) } + e.control { urls_to_use = action_urls } + e.candidate { urls_to_use = new_action_urls(project) } end urls_to_use.to_h do |action, url| |