diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-13 18:19:29 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-13 18:19:29 +0800 |
commit | bb5f06718cd4fb344398a5fef19f3cf9b400de97 (patch) | |
tree | 8e8605908f5e92352829efb3bd2aea1616d560dc /config/routes.rb | |
parent | 3336828152767bf22f9c59d54c1c13f5e3d88132 (diff) | |
download | gitlab-ce-bb5f06718cd4fb344398a5fef19f3cf9b400de97.tar.gz |
Rename to ref_name so it's aligning with API
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 32b00652bb3..203f679226e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -735,8 +735,8 @@ Rails.application.routes.draw do resources :artifacts, only: [] do collection do - get :search, path: ':ref/:build_name/*path', format: false, - constraints: { ref: /.+/ } # ref could have / + get :search, path: ':ref_name/:build_name/*path', format: false, + constraints: { ref_name: /.+/ } # ref could have / end end |