From ca3c0c6cd915d44ec2d409b04ab05d964bd5a403 Mon Sep 17 00:00:00 2001 From: Paco Guzman Date: Thu, 11 Aug 2016 09:00:17 +0200 Subject: MergeRequest new form load diff asynchronously --- config/routes/project.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config/routes/project.rb') 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 -- cgit v1.2.1