diff options
author | Rémy Coutable <remy@rymai.me> | 2016-12-16 09:15:30 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-12-19 17:35:51 +0100 |
commit | 8fc63d1f648fa38eac9e5422dd42667d8e7f1b49 (patch) | |
tree | 0b211c3385aa55518e76c43b6469c3e612e34c60 /app/controllers/import | |
parent | 99ddd1dcbed35b642d7bd8a52cc6e5e5453b9f8b (diff) | |
download | gitlab-ce-8fc63d1f648fa38eac9e5422dd42667d8e7f1b49.tar.gz |
Improve Gitlab::ImportSources
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/import')
-rw-r--r-- | app/controllers/import/github_controller.rb | 2 |
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 |