summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorMarcel Amirault <ravlen@gmail.com>2018-09-21 12:05:37 +0000
committerDouwe Maan <douwe@gitlab.com>2018-09-21 12:05:37 +0000
commiteb640eded77a89daad6f6f4c691b0bd7f283da37 (patch)
treefb87e9e99c52efca8e7d50d0baf9590e8553484c /app/models
parentabab0cd68a154efc97f9fcc096cbf97169c38dfd (diff)
downloadgitlab-ce-eb640eded77a89daad6f6f4c691b0bd7f283da37.tar.gz
Correct Gitlab Capitalization in code files
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_wiki.rb2
-rw-r--r--app/models/wiki_page.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/models/project_wiki.rb b/app/models/project_wiki.rb
index 761359b3c9f..559e4f99294 100644
--- a/app/models/project_wiki.rb
+++ b/app/models/project_wiki.rb
@@ -80,7 +80,7 @@ class ProjectWiki
pages(limit: 1).empty?
end
- # Returns an Array of Gitlab WikiPage instances or an
+ # Returns an Array of GitLab WikiPage instances or an
# empty Array if this Wiki has no pages.
def pages(limit: 0)
wiki.pages(limit: limit).map { |page| WikiPage.new(self, page, true) }
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb
index 33790afc35e..102907a8bd3 100644
--- a/app/models/wiki_page.rb
+++ b/app/models/wiki_page.rb
@@ -51,7 +51,7 @@ class WikiPage
validates :title, presence: true
validates :content, presence: true
- # The Gitlab ProjectWiki instance.
+ # The GitLab ProjectWiki instance.
attr_reader :wiki
# The raw Gitlab::Git::WikiPage instance.
@@ -127,7 +127,7 @@ class WikiPage
version.try(:message)
end
- # The Gitlab Commit instance for this page.
+ # The GitLab Commit instance for this page.
def version
return nil unless persisted?