diff options
author | Matija Čupić <matteeyah@gmail.com> | 2017-12-21 01:27:04 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2017-12-21 01:27:04 +0100 |
commit | d69f0feea8c846cab2019a0afe9c602b25864d69 (patch) | |
tree | 47013d9213a6954ad7cc38cec6b0d973024950a9 | |
parent | ecd1b816644080cc5ccab9c2eddaba9676b47b49 (diff) | |
download | gitlab-ce-d69f0feea8c846cab2019a0afe9c602b25864d69.tar.gz |
Stub out project#reset_cache
-rw-r--r-- | app/controllers/projects_controller.rb | 3 | ||||
-rw-r--r-- | config/routes/project.rb | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 6f609348402..a2f1b27d0ec 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -175,6 +175,9 @@ class ProjectsController < Projects::ApplicationController ) end + def reset_cache + end + def export @project.add_export_job(current_user: current_user) diff --git a/config/routes/project.rb b/config/routes/project.rb index 239b5480321..d79c6e141c8 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -436,6 +436,7 @@ constraints(ProjectUrlConstrainer.new) do get :download_export get :activity get :refs + get :reset_cache put :new_issuable_address end end |