From 47750f18c0ddf61b0cab3aca9afc18d6530a5e47 Mon Sep 17 00:00:00 2001 From: lpereira98 <44083899+lpereira98@users.noreply.github.com> Date: Thu, 10 Jan 2019 16:51:40 +0000 Subject: [PATCH] Update show.api.rsb --- app/views/dmsf_files/show.api.rsb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/dmsf_files/show.api.rsb b/app/views/dmsf_files/show.api.rsb index 7a5f5407..0e3f0199 100644 --- a/app/views/dmsf_files/show.api.rsb +++ b/app/views/dmsf_files/show.api.rsb @@ -12,4 +12,5 @@ api.dmsf_file do api.description @file.last_revision.description end api.content_url download_dmsf_file_url(@file) -end \ No newline at end of file + api.revisions @file.dmsf_file_revisions.visible[@revision_pages.offset, @revision_pages.per_page].each +end