diff options
author | Matija Čupić <matteeyah@gmail.com> | 2017-12-22 23:28:25 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2017-12-22 23:28:25 +0300 |
commit | 0a002e230badf96f5c89d55945ddd85113edd628 (patch) | |
tree | 96c98326311cae3c47cf029f3e881a0d47e1bae4 /app/services/reset_project_cache_service.rb | |
parent | f58cc2ee6044ab3445ff9a4438faa29b30b303fe (diff) |
Implement ResetProjectCacheService
Diffstat (limited to 'app/services/reset_project_cache_service.rb')
-rw-r--r-- | app/services/reset_project_cache_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/reset_project_cache_service.rb b/app/services/reset_project_cache_service.rb index 85ba6d953a2..0886c6b8315 100644 --- a/app/services/reset_project_cache_service.rb +++ b/app/services/reset_project_cache_service.rb @@ -1,4 +1,5 @@ class ResetProjectCacheService < BaseService def execute + @project.increment!(:cache_index) end end |