diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-17 18:08:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-17 18:08:15 +0300 |
commit | c2b98d3dbd47ab92c79c702276fe9130d9a28036 (patch) | |
tree | bf4071f551fdc12c22b23b2bb66483064e7b9ea9 /app/models/wiki_page.rb | |
parent | badb9c1deacbea601b02f88811b7e123589d9251 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/wiki_page.rb')
-rw-r--r-- | app/models/wiki_page.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index f9c562364cb..c6867e48cbf 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -274,6 +274,10 @@ class WikiPage @attributes.merge!(attrs) end + def to_ability_name + 'wiki_page' + end + private # Process and format the title based on the user input. |