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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-04 02:42:14 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-04 02:42:14 +0400
commit2dae0e18e09132c0db32c8646d8d11b30cfcb83f (patch)
treeb28e2b90fae53324750e82e47898ab815c0bb82e /config/routes.rb
parent8d7aaf0e5501c472504467b9252dd5bde14a98c8 (diff)
web hooks scaffold started
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 90b391cd5a2..416ea6a9498 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,8 +1,8 @@
Gitlab::Application.routes.draw do
# Optionally, enable Resque here
- # require 'resque/server'
- # mount Resque::Server.new, at: '/info/resque'
+ require 'resque/server'
+ mount Resque::Server.new, at: '/info/resque'
get 'tags'=> 'tags#index'
get 'tags/:tag' => 'projects#index'
@@ -83,6 +83,8 @@ Gitlab::Application.routes.draw do
get :commits
end
end
+
+ resources :hooks, :only => [:index, :new, :create, :destroy, :show]
resources :snippets
resources :commits
resources :team_members