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
path: root/config
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2015-02-03 04:01:07 +0300
committerValery Sizov <valery@gitlab.com>2015-02-05 23:50:34 +0300
commit33349dd54928a0b074b4ae3ebfabf214799fc085 (patch)
tree593a14d0f6df812410349f353e252e3a58d8cacd /config
parent713bc152bde5396bb95a1555907bcd9a2847839d (diff)
GitLab.com integration: refactoring
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index fde76b16064..3aadb732e6d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -53,16 +53,16 @@ Gitlab::Application.routes.draw do
#
- # Importers
+ # Import
#
- namespace :importers do
- resource :github, only: [:create, :new] do
+ namespace :import do
+ resource :github, only: [:create, :new], controller: :github do
get :status
get :callback
get :jobs
end
- resource :gitlab, only: [:create, :new] do
+ resource :gitlab, only: [:create, :new], controller: :gitlab do
get :status
get :callback
get :jobs