diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-21 16:34:00 +0200 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-04-28 16:13:48 -0400 |
commit | 0426647069397d57d46c66de41c8fa4fad65e0bb (patch) | |
tree | d91b1c5f48e5481f1fd4ed6034925b4d00bd7ead /config | |
parent | ed08bfdc26557b4d364dc18299bb21a8be195be6 (diff) | |
download | gitlab-ce-0426647069397d57d46c66de41c8fa4fad65e0bb.tar.gz |
Load the "New Branch" button asynchronously
This button depends on Issue#can_be_worked_on? which in turn depends on
Issue#related_branches. By rendering this button asynchronously we can
finally remove all usages of Issue#related_branches and
Issue#referenced_merge_requests from the issues "show" page.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index d664434e1a6..5ce1f49ec6a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -710,6 +710,7 @@ Rails.application.routes.draw do post :toggle_subscription get :referenced_merge_requests get :related_branches + get :can_create_branch end collection do post :bulk_update |