From 94da341f9f6589eab59021f45d003d8d4cc7d29c Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Wed, 4 Nov 2015 10:04:21 +0100 Subject: [PATCH] :only_path => false is the default option --- app/views/dmsf_files/show.api.rsb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dmsf_files/show.api.rsb b/app/views/dmsf_files/show.api.rsb index e846a86d..f998adce 100644 --- a/app/views/dmsf_files/show.api.rsb +++ b/app/views/dmsf_files/show.api.rsb @@ -4,5 +4,5 @@ api.dmsf_file do api.project_id @file.project_id api.dmsf_folder_id @file.folder if @file.dmsf_folder_id api.version "#{@file.last_revision.major_version}.#{@file.last_revision.minor_version}" if @file.last_revision - api.content_url url_for(:controller => :dmsf_files, :action => 'show', :download => '', :id => @file, :only_path => false) + api.content_url url_for(:controller => :dmsf_files, :action => 'show', :download => '', :id => @file) end \ No newline at end of file