diff options
author | Valery Sizov <valery@gitlab.com> | 2015-02-03 04:01:07 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-02-05 23:50:34 +0300 |
commit | 33349dd54928a0b074b4ae3ebfabf214799fc085 (patch) | |
tree | 593a14d0f6df812410349f353e252e3a58d8cacd /config | |
parent | 713bc152bde5396bb95a1555907bcd9a2847839d (diff) |
GitLab.com integration: refactoring
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 8 |
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 |