summaryrefslogtreecommitdiff
path: root/app/models/wiki_page.rb
diff options
context:
space:
mode:
authorAlex Braha Stoll <alexbrahastoll@gmail.com>2016-12-27 01:52:50 -0200
committerAlex Braha Stoll <alexbrahastoll@gmail.com>2016-12-31 16:55:50 -0200
commit104bfa2a3187aefebd4a53be1ad14600dc7781e9 (patch)
treeb332a35f2a10a6f3391452d2e7d01609ca50b17a /app/models/wiki_page.rb
parent94dcadd62ac66cc5c52579ae9c288314bbca0c20 (diff)
downloadgitlab-ce-104bfa2a3187aefebd4a53be1ad14600dc7781e9.tar.gz
Remove WikiPage#full_path
Diffstat (limited to 'app/models/wiki_page.rb')
-rw-r--r--app/models/wiki_page.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb
index 96d03d510ff..dec58681198 100644
--- a/app/models/wiki_page.rb
+++ b/app/models/wiki_page.rb
@@ -114,11 +114,6 @@ class WikiPage
@attributes[:format] || :markdown
end
- # The full path for this page, including its filename and extension.
- def full_path
- "#{directory}/#{page.filename}".gsub(/\/+/, '/')
- end
-
# The commit message for this page version.
def message
version.try(:message)