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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-19 14:35:42 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-19 14:35:42 +0400
commit57f3409bcc6a4bee6bc29f8cd03f501c117655b0 (patch)
treed971f6d22d4fed6939832f61aec96092f7158321 /config
parentf3dfd2299381778d66f833520afa7aeb7804f576 (diff)
move Wall to own resource
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 2e6d31c23e1..0028baf8d53 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -167,11 +167,6 @@ Gitlab::Application.routes.draw do
# Project Area
#
resources :projects, constraints: { id: /(?:[a-zA-Z.0-9_\-]+\/)?[a-zA-Z.0-9_\-]+/ }, except: [:new, :create, :index], path: "/" do
- member do
- get "wall"
- get "files"
- end
-
resources :blob, only: [:show], constraints: {id: /.+/}
resources :tree, only: [:show, :edit, :update], constraints: {id: /.+/}
resources :commit, only: [:show], constraints: {id: /[[:alnum:]]{6,40}/}
@@ -194,6 +189,12 @@ Gitlab::Application.routes.draw do
end
end
+ resource :wall, only: [:show] do
+ member do
+ get 'notes'
+ end
+ end
+
resource :repository do
member do
get "branches"