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-07-26 13:45:03 +0300
committerRémy Coutable <remy@rymai.me>2016-07-26 13:45:03 +0300
commit065c428a8bcf13584c4df9aefc7e39a23ea8115f (patch)
treeb8fa0982824cc92224f8f17eb206fb7c34533baa /config/routes.rb
parente9f132eb7f859360d1cc4da342b81ea4175c6eb5 (diff)
Add route for Import::GithubController#new
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4047bfecdc5..0e03d2b4c32 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -136,7 +136,7 @@ Rails.application.routes.draw do
# Import
#
namespace :import do
- resource :github, only: [:create], controller: :github do
+ resource :github, only: [:create, :new], controller: :github do
post :personal_access_token
get :status
get :callback