summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-10-15 19:52:10 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-10-15 19:52:10 +0300
commitbd5dbe14e45a19b30c5b9ff23a82559c79bd2e6f (patch)
tree27d81435cf5e5d907c5d817203584e0be1ca1e6d /config
parentc01b0fd5d4fb8110be2539b165b2e028540ad6f6 (diff)
parent809aefb828e0d4b5c06304fcde2dcfced66ab4e9 (diff)
downloadgitlab-ce-bd5dbe14e45a19b30c5b9ff23a82559c79bd2e6f.tar.gz
Merge branch 'web_editor'
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: /.+/}