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:
authorValeriy Sizov <vsv2711@gmail.com>2012-10-08 19:43:54 +0400
committerValeriy Sizov <vsv2711@gmail.com>2012-10-12 21:07:23 +0400
commitf6a8e6944984eabb21a3ce9c15d1f14eb87ee06d (patch)
treed749f9390d5b85659c762410ba5bd45e1fa3b85e /config
parent837972650c6d33ad4c376cb219289202559d0e48 (diff)
WebEditor: base form
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 54b298c961f..de5261d2f06 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -183,7 +183,7 @@ Gitlab::Application.routes.draw do
resources :compare, only: [:index, :create]
resources :blame, only: [:show], constraints: {id: /.+/}
resources :blob, only: [:show], constraints: {id: /.+/}
- resources :tree, only: [:show], constraints: {id: /.+/}
+ resources :tree, only: [:show, :edit, :update], constraints: {id: /.+/}
match "/compare/:from...:to" => "compare#show", as: "compare",
:via => [:get, :post], constraints: {from: /.+/, to: /.+/}