diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-10-03 17:13:55 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-10-03 17:13:55 +0200 |
commit | 9712347c991f0fa0a494efccb3b9f5f5913d0057 (patch) | |
tree | 76fb96d64a13ebdc88803259aaf77a4b32b1673f | |
parent | 1c30f13b194401fe11eaee3db0a789eb02c60aa7 (diff) | |
download | gitlab-ce-wiki-gitlab-git.tar.gz |
More fixes from reviewwiki-gitlab-git
-rw-r--r-- | app/models/wiki_page.rb | 2 | ||||
-rw-r--r-- | lib/gitlab/git/wiki_page_version.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index c6c37485404..5f710961f95 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -50,7 +50,7 @@ class WikiPage # The Gitlab ProjectWiki instance. attr_reader :wiki - # The raw Gitlab::Git::Page instance. + # The raw Gitlab::Git::WikiPage instance. attr_reader :page # The attributes Hash used for storing and validating diff --git a/lib/gitlab/git/wiki_page_version.rb b/lib/gitlab/git/wiki_page_version.rb index 4d38968ba80..55f1afedcab 100644 --- a/lib/gitlab/git/wiki_page_version.rb +++ b/lib/gitlab/git/wiki_page_version.rb @@ -13,7 +13,6 @@ module Gitlab @format = format end - # 'delegate' comes from active_support/core_ext/delegation delegate :message, :sha, :id, :author_name, :authored_date, to: :commit end end |