Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-12-16 11:15:30 +0300
committerRémy Coutable <remy@rymai.me>2016-12-19 19:35:51 +0300
commit8fc63d1f648fa38eac9e5422dd42667d8e7f1b49 (patch)
tree0b211c3385aa55518e76c43b6469c3e612e34c60 /app/controllers
parent99ddd1dcbed35b642d7bd8a52cc6e5e5453b9f8b (diff)
Improve Gitlab::ImportSources
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/import/github_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/import/github_controller.rb b/app/controllers/import/github_controller.rb
index 343ca51e510..4ae121ec482 100644
--- a/app/controllers/import/github_controller.rb
+++ b/app/controllers/import/github_controller.rb
@@ -82,7 +82,7 @@ class Import::GithubController < Import::BaseController
def provider_unauthorized
session[:access_token] = nil
redirect_to new_import_url,
- alert: "Access denied to your #{Gitlab::ImportSources.options.key(provider.to_s)} account."
+ alert: "Access denied to your #{Gitlab::ImportSources.title(provider.to_s)} account."
end
def access_params