summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2019-02-04 15:38:12 +0100
committerFrancisco Javier López <fjlopez@gitlab.com>2019-02-04 17:33:55 +0100
commit247bd122645175087251dda45169e38111dca52f (patch)
treebcc8a718b6751e714513743efac517e5e5b173eb /app/helpers
parent6b0b14f81d6def6d74b303cd27fef6f98aaabfd0 (diff)
downloadgitlab-ce-247bd122645175087251dda45169e38111dca52f.tar.gz
Changed external wiki query method to prevent attribute caching
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 85248a16f50..4408cb5145a 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -328,7 +328,7 @@ module ProjectsHelper
def external_nav_tabs(project)
[].tap do |tabs|
tabs << :external_issue_tracker if project.external_issue_tracker
- tabs << :external_wiki if project.has_external_wiki?
+ tabs << :external_wiki if project.external_wiki
end
end