diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-04 21:13:30 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-01-05 00:17:01 +0300 |
commit | f834e2907d5111f3e2bcd8d0dd126f9e0dd0be7a (patch) | |
tree | 337796d2646a3483ceab82d8400793fdf0a3f1f3 /config | |
parent | 7b52a3482ec696320e4a101a80537e4e61118b5c (diff) |
Move cache reset to ci_cd_settings controller
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index d79c6e141c8..905c906b194 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -407,7 +407,9 @@ constraints(ProjectUrlConstrainer.new) do end namespace :settings do get :members, to: redirect("%{namespace_id}/%{project_id}/project_members") - resource :ci_cd, only: [:show], controller: 'ci_cd' + resource :ci_cd, only: [:show], controller: 'ci_cd' do + get :reset_cache + end resource :integrations, only: [:show] resource :repository, only: [:show], controller: :repository end @@ -436,7 +438,6 @@ constraints(ProjectUrlConstrainer.new) do get :download_export get :activity get :refs - get :reset_cache put :new_issuable_address end end |