diff options
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 3a9a6dba601..a97e88f76f6 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -295,11 +295,7 @@ class Issue < ActiveRecord::Base end def expire_etag_cache - key = Gitlab::Routing.url_helpers.realtime_changes_namespace_project_issue_path( - project.namespace, - project, - self - ) + key = Gitlab::Routing.url_helpers.realtime_changes_project_issue_path(project, self) Gitlab::EtagCaching::Store.new.touch(key) end end |