diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2019-02-04 17:38:12 +0300 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2019-02-04 19:33:55 +0300 |
commit | 247bd122645175087251dda45169e38111dca52f (patch) | |
tree | bcc8a718b6751e714513743efac517e5e5b173eb /app/helpers | |
parent | 6b0b14f81d6def6d74b303cd27fef6f98aaabfd0 (diff) |
Changed external wiki query method to prevent attribute caching
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/projects_helper.rb | 2 |
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 |