summaryrefslogtreecommitdiff
path: root/config/routes
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-08-11 09:00:17 +0200
committerPaco Guzman <pacoguzmanp@gmail.com>2016-10-06 11:19:14 +0200
commitca3c0c6cd915d44ec2d409b04ab05d964bd5a403 (patch)
tree0da5663e795e68d0f9d4c0760d910f5da6973afe /config/routes
parent0bbeff3d5e6c1b5ea3b364f052ed6f777c3aa645 (diff)
downloadgitlab-ce-ca3c0c6cd915d44ec2d409b04ab05d964bd5a403.tar.gz
MergeRequest new form load diff asynchronouslynew-merge-requests-commit-tab-active
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/project.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 224ec7e8324..0c188478ed1 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -285,6 +285,7 @@ resources :namespaces, path: '/', constraints: { id: /[a-zA-Z.0-9_\-]+/ }, only:
get :update_branches
get :diff_for_path
post :bulk_update
+ get :new_diffs, path: 'new/diffs'
end
resources :discussions, only: [], constraints: { id: /\h{40}/ } do