Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/wiki_attachment.rb')
-rw-r--r--lib/api/entities/wiki_attachment.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/entities/wiki_attachment.rb b/lib/api/entities/wiki_attachment.rb
index e622dea04dd..03a6cc8d644 100644
--- a/lib/api/entities/wiki_attachment.rb
+++ b/lib/api/entities/wiki_attachment.rb
@@ -16,11 +16,11 @@ module API
end
def filename
- object.file_name
+ object[:file_name]
end
def secure_url
- object.file_path
+ object[:file_path]
end
end
end